pub enum MachineTurn {
Handoff,
Compacting,
}Expand description
The machine turn running on a seat, which takes its composer away.
Both are turns the person did not start and cannot type into: forge’s own judgment prompt, and the CLI’s compaction. A handoff outranks a compaction, because it is the one that replaces the seat.
Variants§
Trait Implementations§
Source§impl Clone for MachineTurn
impl Clone for MachineTurn
impl Copy for MachineTurn
Source§impl Debug for MachineTurn
impl Debug for MachineTurn
Source§impl<'de> Deserialize<'de> for MachineTurn
impl<'de> Deserialize<'de> for MachineTurn
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 MachineTurn
Source§impl PartialEq for MachineTurn
impl PartialEq for MachineTurn
Source§impl Serialize for MachineTurn
impl Serialize for MachineTurn
impl StructuralPartialEq for MachineTurn
Auto Trait Implementations§
impl Freeze for MachineTurn
impl RefUnwindSafe for MachineTurn
impl Send for MachineTurn
impl Sync for MachineTurn
impl Unpin for MachineTurn
impl UnsafeUnpin for MachineTurn
impl UnwindSafe for MachineTurn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.