Skip to main content

IHubMenuContentMethods

Trait IHubMenuContentMethods 

Source
pub trait IHubMenuContentMethods: IHubMenuContent {
    // Provided methods
    fn get_menu(self) -> HubMenu { ... }
    fn set_menu(self, value: impl Into<HubMenu>) { ... }
    fn get_menu_item_content_max(self) -> i32 { ... }
    fn calc_w(self) -> f32 { ... }
    fn calc_h(self) -> f32 { ... }
    fn awake(self) { ... }
    fn set_title(self) { ... }
    fn open_anime(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_menu(self) -> HubMenu

get_Menu() overload

Source

fn set_menu(self, value: impl Into<HubMenu>)

set_Menu(crate::app::hubmenu::HubMenu) overload

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn calc_h(self) -> f32

CalcH() overload

Source

fn awake(self)

Awake() overload

Source

fn set_title(self)

SetTitle() overload

Source

fn open_anime(self)

OpenAnime() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IHubMenuContent> IHubMenuContentMethods for __T

Available on crate feature app-hubmenucontent only.