pub enum ControlDecision {
Proceed,
Hold {
wait_s: f64,
},
}Expand description
Control decision for a movement.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ControlDecision
impl Clone for ControlDecision
Source§fn clone(&self) -> ControlDecision
fn clone(&self) -> ControlDecision
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 ControlDecision
impl Debug for ControlDecision
Source§impl PartialEq for ControlDecision
impl PartialEq for ControlDecision
impl Copy for ControlDecision
impl StructuralPartialEq for ControlDecision
Auto Trait Implementations§
impl Freeze for ControlDecision
impl RefUnwindSafe for ControlDecision
impl Send for ControlDecision
impl Sync for ControlDecision
impl Unpin for ControlDecision
impl UnsafeUnpin for ControlDecision
impl UnwindSafe for ControlDecision
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