pub struct ControlInput {
pub command_fraction: f64,
pub disturbance_n: f64,
pub active_segment: String,
pub allocation_strategy: AllocationStrategy,
}Fields§
§command_fraction: f64§disturbance_n: f64§active_segment: String§allocation_strategy: AllocationStrategyTrait Implementations§
Source§impl Clone for ControlInput
impl Clone for ControlInput
Source§fn clone(&self) -> ControlInput
fn clone(&self) -> ControlInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlInput
impl Debug for ControlInput
Source§impl<'de> Deserialize<'de> for ControlInput
impl<'de> Deserialize<'de> for ControlInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ControlInput
impl RefUnwindSafe for ControlInput
impl Send for ControlInput
impl Sync for ControlInput
impl Unpin for ControlInput
impl UnsafeUnpin for ControlInput
impl UnwindSafe for ControlInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more