pub enum Value<'a, K> {
Text(Text<'a>),
Set {
mode: Mode,
set: Set<'a, K>,
tail: Text<'a>,
},
}Expand description
The value of a part.
Variants§
Text(Text<'a>)
TEXT, for the engine to read in the kind’s own syntax.
Set
A set, with what is written around it.
Trait Implementations§
impl<'a, K: Eq> Eq for Value<'a, K>
impl<'a, K: PartialEq> StructuralPartialEq for Value<'a, K>
Auto Trait Implementations§
impl<'a, K> Forget for Value<'a, K>
impl<'a, K> Freeze for Value<'a, K>
impl<'a, K> Move for Value<'a, K>
impl<'a, K> RefUnwindSafe for Value<'a, K>where
Set<'a, K>: RefUnwindSafe,
impl<'a, K> Send for Value<'a, K>
impl<'a, K> Sync for Value<'a, K>
impl<'a, K> Unpin for Value<'a, K>
impl<'a, K> UnsafeUnpin for Value<'a, K>where
Set<'a, K>: UnsafeUnpin,
impl<'a, K> UnwindSafe for Value<'a, K>where
Set<'a, K>: UnwindSafe,
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