Skip to main content

IExpSetter_ExpWindowMethods

Trait IExpSetter_ExpWindowMethods 

Source
pub trait IExpSetter_ExpWindowMethods: IExpSetter_ExpWindow {
    // Provided methods
    fn setup_unit(self, unit: impl Into<Unit>, gain_exp: impl Into<i32>) { ... }
    fn update_unit(self, unit: impl Into<Unit>) { ... }
    fn update_add_exp(self, exp: impl Into<i32>) { ... }
    fn set_level_max(self) { ... }
    fn is_level_max(self, unit: impl Into<Unit>) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn setup_unit(self, unit: impl Into<Unit>, gain_exp: impl Into<i32>)

SetupUnit(crate::app::unit::Unit, i32) overload

Source

fn update_unit(self, unit: impl Into<Unit>)

UpdateUnit(crate::app::unit::Unit) overload

Source

fn update_add_exp(self, exp: impl Into<i32>)

UpdateAddExp(i32) overload

Source

fn set_level_max(self)

SetLevelMax() overload

Source

fn is_level_max(self, unit: impl Into<Unit>) -> bool

IsLevelMax(crate::app::unit::Unit) 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: IExpSetter_ExpWindow> IExpSetter_ExpWindowMethods for __T

Available on crate feature app-expsetter only.