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§
Sourcefn setup_unit(self, unit: impl Into<Unit>, gain_exp: impl Into<i32>)
fn setup_unit(self, unit: impl Into<Unit>, gain_exp: impl Into<i32>)
SetupUnit(crate::app::unit::Unit, i32) overload
Sourcefn update_unit(self, unit: impl Into<Unit>)
fn update_unit(self, unit: impl Into<Unit>)
UpdateUnit(crate::app::unit::Unit) overload
Sourcefn update_add_exp(self, exp: impl Into<i32>)
fn update_add_exp(self, exp: impl Into<i32>)
UpdateAddExp(i32) overload
Sourcefn set_level_max(self)
fn set_level_max(self)
SetLevelMax() overload
Sourcefn is_level_max(self, unit: impl Into<Unit>) -> bool
fn is_level_max(self, unit: impl Into<Unit>) -> bool
IsLevelMax(crate::app::unit::Unit) 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: IExpSetter_ExpWindow> IExpSetter_ExpWindowMethods for __T
Available on crate feature
app-expsetter only.