Skip to main content

IHubRangeActionMethods

Trait IHubRangeActionMethods 

Source
pub trait IHubRangeActionMethods: IHubRangeAction {
Show 13 methods // Provided methods fn get_is_stop(self) -> bool { ... } fn set_is_stop(self, value: impl Into<bool>) { ... } fn get_distance(self) -> f32 { ... } fn set_distance(self, value: impl Into<f32>) { ... } fn get_interval(self) -> f32 { ... } fn set_interval(self, value: impl Into<f32>) { ... } fn get_angle(self) -> f32 { ... } fn set_angle(self, value: impl Into<f32>) { ... } fn get_is_stop_main(self) -> bool { ... } fn set_is_stop_main(self, value: impl Into<bool>) { ... } fn ctor( self, func_in_range: impl Into<Action_1<HubUnitController>>, func_out_range: impl Into<Action_1<HubUnitController>>, ) { ... } fn reset(self) { ... } fn update(self, unit: impl Into<HubUnitController>) { ... }
}

Provided Methods§

Source

fn get_is_stop(self) -> bool

get_IsStop() overload

Source

fn set_is_stop(self, value: impl Into<bool>)

set_IsStop(bool) overload

Source

fn get_distance(self) -> f32

get_Distance() overload

Source

fn set_distance(self, value: impl Into<f32>)

set_Distance(f32) overload

Source

fn get_interval(self) -> f32

get_Interval() overload

Source

fn set_interval(self, value: impl Into<f32>)

set_Interval(f32) overload

Source

fn get_angle(self) -> f32

get_Angle() overload

Source

fn set_angle(self, value: impl Into<f32>)

set_Angle(f32) overload

Source

fn get_is_stop_main(self) -> bool

get_IsStopMain() overload

Source

fn set_is_stop_main(self, value: impl Into<bool>)

set_IsStopMain(bool) overload

Source

fn ctor( self, func_in_range: impl Into<Action_1<HubUnitController>>, func_out_range: impl Into<Action_1<HubUnitController>>, )

.ctor(crate::system::action_1::Action_1<crate::app::hubunitcontroller::HubUnitController>, crate::system::action_1::Action_1<crate::app::hubunitcontroller::HubUnitController>) overload

Source

fn reset(self)

Reset() overload

Source

fn update(self, unit: impl Into<HubUnitController>)

Update(crate::app::hubunitcontroller::HubUnitController) 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: IHubRangeAction> IHubRangeActionMethods for __T

Available on crate feature app-hubrangeaction only.