pub trait IVersusMapEditCategoryContentMethods: IVersusMapEditCategoryContent {
// Provided methods
fn initialize(
self,
category: impl Into<MapEditorCategoryData>,
icon: impl Into<Sprite>,
) { ... }
fn on_disable(self) { ... }
fn get_category_data(self) -> MapEditorCategoryData { ... }
fn set_text_num(self, num: impl Into<i32>, num_max: impl Into<i32>) { ... }
fn turn_on_highlight(self) { ... }
fn turn_off_highlight(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn initialize(
self,
category: impl Into<MapEditorCategoryData>,
icon: impl Into<Sprite>,
)
fn initialize( self, category: impl Into<MapEditorCategoryData>, icon: impl Into<Sprite>, )
Initialize(crate::app::mapeditorcategorydata::MapEditorCategoryData, crate::unity_engine::sprite::Sprite) overload
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn get_category_data(self) -> MapEditorCategoryData
fn get_category_data(self) -> MapEditorCategoryData
GetCategoryData() overload
Sourcefn set_text_num(self, num: impl Into<i32>, num_max: impl Into<i32>)
fn set_text_num(self, num: impl Into<i32>, num_max: impl Into<i32>)
SetTextNum(i32, i32) overload
Sourcefn turn_on_highlight(self)
fn turn_on_highlight(self)
TurnOnHighlight() overload
Sourcefn turn_off_highlight(self)
fn turn_off_highlight(self)
TurnOffHighlight() 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§
impl<__T: IVersusMapEditCategoryContent> IVersusMapEditCategoryContentMethods for __T
Available on crate feature
app-versusmapeditcategorycontent only.