pub enum Def {
One(String),
Many(Vec<String>),
}Expand description
A def: the store’s named vocabulary. Untyped — a string expands in place; a list expands to multiple argv elements.
Variants§
One(String)
Expands inside an argv element.
Many(Vec<String>)
Expands to multiple argv elements (the element must be exactly the
{def:NAME} token).
Trait Implementations§
impl Eq for Def
impl StructuralPartialEq for Def
Auto Trait Implementations§
impl Freeze for Def
impl RefUnwindSafe for Def
impl Send for Def
impl Sync for Def
impl Unpin for Def
impl UnsafeUnpin for Def
impl UnwindSafe for Def
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