pub struct ControlOutcome {
pub setpoint: Option<Setpoint>,
pub precedence: ModePrecedence,
pub emergency: bool,
pub suppressed: Option<Suppression>,
}Expand description
One tick’s result.
Fields§
§setpoint: Option<Setpoint>The command to send this tick, if any.
precedence: ModePrecedenceThe level ACTUALLY driving, which is what rides beacon status bits 5..7.
emergency: boolWhether beacon status bit 2 should be raised on the next beacon.
suppressed: Option<Suppression>Why nothing was sent, when setpoint is None.
Trait Implementations§
Source§impl Clone for ControlOutcome
impl Clone for ControlOutcome
impl Copy for ControlOutcome
Source§impl Debug for ControlOutcome
impl Debug for ControlOutcome
Source§impl PartialEq for ControlOutcome
impl PartialEq for ControlOutcome
impl StructuralPartialEq for ControlOutcome
Auto Trait Implementations§
impl Freeze for ControlOutcome
impl RefUnwindSafe for ControlOutcome
impl Send for ControlOutcome
impl Sync for ControlOutcome
impl Unpin for ControlOutcome
impl UnsafeUnpin for ControlOutcome
impl UnwindSafe for ControlOutcome
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