pub trait IUnitIconViewerContentMethods: IUnitIconViewerContent {
// Provided methods
fn awake(self) { ... }
fn start(self) { ... }
fn update(self) { ... }
fn set_unit_icon(
self,
person: impl Into<PersonData>,
is_female: impl Into<bool>,
item_kind: impl Into<ItemData_Kinds>,
) { ... }
fn set_emblem_icon(self, is_female: impl Into<bool>) { ... }
fn change_r(self, change_value: impl Into<f32>) { ... }
fn change_g(self, change_value: impl Into<f32>) { ... }
fn change_b(self, change_value: impl Into<f32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_unit_icon(
self,
person: impl Into<PersonData>,
is_female: impl Into<bool>,
item_kind: impl Into<ItemData_Kinds>,
)
fn set_unit_icon( self, person: impl Into<PersonData>, is_female: impl Into<bool>, item_kind: impl Into<ItemData_Kinds>, )
SetUnitIcon(crate::app::persondata::PersonData, bool, crate::app::itemdata::ItemData_Kinds) overload
Sourcefn set_emblem_icon(self, is_female: impl Into<bool>)
fn set_emblem_icon(self, is_female: impl Into<bool>)
SetEmblemIcon(bool) 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: IUnitIconViewerContent> IUnitIconViewerContentMethods for __T
Available on crate feature
app-uniticonviewercontent only.