pub trait IExpSetterMethods: IExpSetter {
// Provided methods
fn setup(self, unit: impl Into<Unit>, gain_exp: impl Into<i32>) { ... }
fn set_exp(self, main: impl Into<Unit>) { ... }
fn set_add_exp_main(self, exp: impl Into<i32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn setup(self, unit: impl Into<Unit>, gain_exp: impl Into<i32>)
fn setup(self, unit: impl Into<Unit>, gain_exp: impl Into<i32>)
Setup(crate::app::unit::Unit, i32) overload
Sourcefn set_add_exp_main(self, exp: impl Into<i32>)
fn set_add_exp_main(self, exp: impl Into<i32>)
SetAddExpMain(i32) 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> IExpSetterMethods for __T
Available on crate feature
app-expsetter only.