pub enum Wrapped {
Note(Gloss),
Nothing,
}Expand description
What a user turn carries once the wrappers the harness records around it
are accounted for. A turn in the user’s role is not always the user: the
harness writes its own notes there, and wraps what the user typed in
scaffolding addressed to the model.
Variants§
Note(Gloss)
A note the harness wrote, to be set as a gloss.
Nothing
A wrapper with nothing under it, to be dropped: the caveat standing in front of a slash command is its own turn, and says only that what follows isn’t addressed to the model.
Trait Implementations§
impl Eq for Wrapped
impl StructuralPartialEq for Wrapped
Auto Trait Implementations§
impl Freeze for Wrapped
impl RefUnwindSafe for Wrapped
impl Send for Wrapped
impl Sync for Wrapped
impl Unpin for Wrapped
impl UnsafeUnpin for Wrapped
impl UnwindSafe for Wrapped
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more