Skip to main content

IRingCleaningRootMethods

Trait IRingCleaningRootMethods 

Source
pub trait IRingCleaningRootMethods: IRingCleaningRoot {
    // Provided methods
    fn get_gauge_controller(self) -> RingCleaningGaugeController { ... }
    fn get_condition_icon(self) -> RingCleaningConditionIcon { ... }
    fn init(
        self,
        god: impl Into<GodUnit>,
        unit: impl Into<Unit>,
        ring_controller: impl Into<RingCleaningRingController>,
    ) { ... }
    fn update_dirty(self, new_dirty: impl Into<i32>) { ... }
    fn is_finish_cleaning(self) -> bool { ... }
    fn get_texture_dirty(self, dirty: impl Into<i32>) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_gauge_controller(self) -> RingCleaningGaugeController

get_GaugeController() overload

Source

fn get_condition_icon(self) -> RingCleaningConditionIcon

get_ConditionIcon() overload

Source

fn init( self, god: impl Into<GodUnit>, unit: impl Into<Unit>, ring_controller: impl Into<RingCleaningRingController>, )

Init(crate::app::godunit::GodUnit, crate::app::unit::Unit, crate::app::ringcleaningringcontroller::RingCleaningRingController) overload

Source

fn update_dirty(self, new_dirty: impl Into<i32>)

UpdateDirty(i32) overload

Source

fn is_finish_cleaning(self) -> bool

IsFinishCleaning() overload

Source

fn get_texture_dirty(self, dirty: impl Into<i32>) -> f32

GetTextureDirty(i32) 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: IRingCleaningRoot> IRingCleaningRootMethods for __T

Available on crate feature app-ringcleaningroot only.