pub enum PursuitStep {
Set {
goal: String,
},
Pause,
Resume,
Clear,
}Expand description
What a Pursue command does to a pursuit.
Clear and Pause are different actions and both exist: pausing
keeps the goal so it can be taken up again, and clearing throws it
away. Cancelling a run is a third thing again, and it has its own
command.
Variants§
Trait Implementations§
Source§impl Clone for PursuitStep
impl Clone for PursuitStep
Source§impl Debug for PursuitStep
impl Debug for PursuitStep
Source§impl<'de> Deserialize<'de> for PursuitStep
impl<'de> Deserialize<'de> for PursuitStep
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
impl Eq for PursuitStep
Source§impl PartialEq for PursuitStep
impl PartialEq for PursuitStep
Source§impl Serialize for PursuitStep
impl Serialize for PursuitStep
impl StructuralPartialEq for PursuitStep
Auto Trait Implementations§
impl Freeze for PursuitStep
impl RefUnwindSafe for PursuitStep
impl Send for PursuitStep
impl Sync for PursuitStep
impl Unpin for PursuitStep
impl UnsafeUnpin for PursuitStep
impl UnwindSafe for PursuitStep
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