Skip to main content

ICommonRewardMenuItemContentMethods

Trait ICommonRewardMenuItemContentMethods 

Source
pub trait ICommonRewardMenuItemContentMethods: ICommonRewardMenuItemContent {
    // Provided methods
    fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
    fn build_text_color(self) { ... }
    fn start_gauge(self) { ... }
    fn update_gauge(self, speed: impl Into<i32>) { ... }
    fn is_gauge_end(self) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn build(self, menu_item: impl Into<BasicMenuItem>)

Build(crate::app::basicmenuitem::BasicMenuItem) overload

Source

fn build_text_color(self)

BuildTextColor() overload

Source

fn start_gauge(self)

StartGauge() overload

Source

fn update_gauge(self, speed: impl Into<i32>)

UpdateGauge(i32) overload

Source

fn is_gauge_end(self) -> bool

IsGaugeEnd() 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: ICommonRewardMenuItemContent> ICommonRewardMenuItemContentMethods for __T

Available on crate feature app-commonrewardmenuitemcontent only.