pub enum LexedWordSegmentKind {
Plain,
SingleQuoted,
DollarSingleQuoted,
DoubleQuoted,
DollarDoubleQuoted,
Composite,
}Expand description
Classification of one segment inside a lexed shell word.
Variants§
Plain
Unquoted or otherwise plain text.
SingleQuoted
Text from a single-quoted string.
DollarSingleQuoted
Text from a $'...' string.
DoubleQuoted
Text from a double-quoted string.
DollarDoubleQuoted
Text from a $"..." string.
Composite
Text composed from multiple lexical forms.
Trait Implementations§
Source§impl Clone for LexedWordSegmentKind
impl Clone for LexedWordSegmentKind
Source§fn clone(&self) -> LexedWordSegmentKind
fn clone(&self) -> LexedWordSegmentKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LexedWordSegmentKind
impl Debug for LexedWordSegmentKind
Source§impl PartialEq for LexedWordSegmentKind
impl PartialEq for LexedWordSegmentKind
impl Copy for LexedWordSegmentKind
impl Eq for LexedWordSegmentKind
impl StructuralPartialEq for LexedWordSegmentKind
Auto Trait Implementations§
impl Freeze for LexedWordSegmentKind
impl RefUnwindSafe for LexedWordSegmentKind
impl Send for LexedWordSegmentKind
impl Sync for LexedWordSegmentKind
impl Unpin for LexedWordSegmentKind
impl UnsafeUnpin for LexedWordSegmentKind
impl UnwindSafe for LexedWordSegmentKind
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