pub trait ISupportCalculatorMethods: ISupportCalculator {
// Provided methods
fn ctor(self) { ... }
fn clear(self) { ... }
fn setup(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn range_function(
self,
x: impl Into<i32>,
z: impl Into<i32>,
range: impl Into<i32>,
) { ... }
fn calc(self) { ... }
fn get_hit(self) -> i32 { ... }
fn get_avoid(self) -> i32 { ... }
fn get_critical(self) -> i32 { ... }
fn get_secure(self) -> i32 { ... }
fn get_show_units(self) -> Array<Unit> { ... }
fn register_show_unit(
self,
unit: impl Into<Unit>,
reliance_level: impl Into<RelianceData_Level>,
) { ... }
fn insert_show_unit(
self,
index: impl Into<i32>,
unit: impl Into<Unit>,
reliance_level: impl Into<RelianceData_Level>,
) { ... }
}Provided Methods§
Sourcefn setup(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)
fn setup(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)
Setup(crate::app::unit::Unit, i32, i32) overload
Sourcefn range_function(
self,
x: impl Into<i32>,
z: impl Into<i32>,
range: impl Into<i32>,
)
fn range_function( self, x: impl Into<i32>, z: impl Into<i32>, range: impl Into<i32>, )
RangeFunction(i32, i32, i32) overload
Sourcefn get_critical(self) -> i32
fn get_critical(self) -> i32
get_Critical() overload
Sourcefn get_secure(self) -> i32
fn get_secure(self) -> i32
get_Secure() overload
Sourcefn get_show_units(self) -> Array<Unit>
fn get_show_units(self) -> Array<Unit>
get_ShowUnits() overload
Sourcefn register_show_unit(
self,
unit: impl Into<Unit>,
reliance_level: impl Into<RelianceData_Level>,
)
fn register_show_unit( self, unit: impl Into<Unit>, reliance_level: impl Into<RelianceData_Level>, )
RegisterShowUnit(crate::app::unit::Unit, crate::app::reliancedata::RelianceData_Level) overload
Sourcefn insert_show_unit(
self,
index: impl Into<i32>,
unit: impl Into<Unit>,
reliance_level: impl Into<RelianceData_Level>,
)
fn insert_show_unit( self, index: impl Into<i32>, unit: impl Into<Unit>, reliance_level: impl Into<RelianceData_Level>, )
InsertShowUnit(i32, crate::app::unit::Unit, crate::app::reliancedata::RelianceData_Level) 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: ISupportCalculator> ISupportCalculatorMethods for __T
Available on crate feature
app-supportcalculator only.