pub trait IProfileCardVisualMenuItemContentMethods: IProfileCardVisualMenuItemContent {
// Provided methods
fn build_text(self) { ... }
fn set_sprite(self, sprite: impl Into<Sprite>) { ... }
fn set_color(self, color: impl Into<Color>) { ... }
fn set_fixed_cursor_active(self, active: impl Into<bool>) { ... }
fn set_new_icon_active(self, active: impl Into<bool>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn build_text(self)
fn build_text(self)
BuildText() overload
Sourcefn set_sprite(self, sprite: impl Into<Sprite>)
fn set_sprite(self, sprite: impl Into<Sprite>)
SetSprite(crate::unity_engine::sprite::Sprite) overload
Sourcefn set_color(self, color: impl Into<Color>)
fn set_color(self, color: impl Into<Color>)
SetColor(crate::unity_engine::color::Color) overload
Sourcefn set_fixed_cursor_active(self, active: impl Into<bool>)
fn set_fixed_cursor_active(self, active: impl Into<bool>)
SetFixedCursorActive(bool) overload
Sourcefn set_new_icon_active(self, active: impl Into<bool>)
fn set_new_icon_active(self, active: impl Into<bool>)
SetNewIconActive(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: IProfileCardVisualMenuItemContent> IProfileCardVisualMenuItemContentMethods for __T
Available on crate feature
app-profilecardvisualmenuitemcontent only.