pub enum WordFrag {
Literal(String),
Variable {
name: String,
deref: u8,
},
VariableNoSplit {
name: String,
deref: u8,
},
Command(Stmt),
CommandNoSplit(Stmt),
Brace(Vec<Word>),
Home {
slash: bool,
},
Wildcard,
WildcardRecursive,
}Variants§
Literal(String)
Variable
VariableNoSplit
Command(Stmt)
CommandNoSplit(Stmt)
Brace(Vec<Word>)
Home
Wildcard
WildcardRecursive
Trait Implementations§
impl StructuralPartialEq for WordFrag
Auto Trait Implementations§
impl Freeze for WordFrag
impl RefUnwindSafe for WordFrag
impl Send for WordFrag
impl Sync for WordFrag
impl Unpin for WordFrag
impl UnwindSafe for WordFrag
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