pub enum Kind {
ToolOutput,
FileRead,
Image,
TurnsCleared,
ToolInput,
OutputNormalized,
FileReadDiffed,
Duplicate,
Superseded,
}Expand description
The stub <kind> token: the wire vocabulary for ReductionKind, kept
as its own type because the grammar’s kind strings are a stable contract
independent of the enum’s Rust variant names or field shapes.
Variants§
ToolOutput
tool-output (A7).
FileRead
file-read (A8).
Image
image (A9).
TurnsCleared
turns-cleared (A10).
ToolInput
tool-input (TR-10).
OutputNormalized
output-normalized (T30/TR-4).
FileReadDiffed
file-read-diffed (TR-3 / T26).
Duplicate
duplicate (TR-2).
Superseded
superseded (TR-6 / T16).
Implementations§
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
Source§impl From<&ReductionKind> for Kind
impl From<&ReductionKind> for Kind
Source§fn from(k: &ReductionKind) -> Kind
fn from(k: &ReductionKind) -> Kind
Converts to this type from the input type.
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.