Enum nu_protocol::hir::FlatShape
source · [−]pub enum FlatShape {
Show 30 variants
BareMember,
CloseDelimiter(Delimiter),
Comment,
Decimal,
Dot,
DotDot,
DotDotLeftAngleBracket,
ExternalCommand,
ExternalWord,
Flag,
Garbage,
GlobPattern,
Identifier,
Int,
InternalCommand,
ItVariable,
Keyword,
OpenDelimiter(Delimiter),
Operator,
Path,
Pipe,
Separator,
ShorthandFlag,
Size {
number: Span,
unit: Span,
},
String,
StringMember,
Type,
Variable,
Whitespace,
Word,
}
Variants
BareMember
CloseDelimiter(Delimiter)
Comment
Decimal
Dot
DotDot
DotDotLeftAngleBracket
ExternalCommand
ExternalWord
Flag
Garbage
GlobPattern
Identifier
Int
InternalCommand
ItVariable
Keyword
OpenDelimiter(Delimiter)
Operator
Path
Pipe
Separator
ShorthandFlag
Size
String
StringMember
Type
Variable
Whitespace
Word
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FlatShape
impl Send for FlatShape
impl Sync for FlatShape
impl Unpin for FlatShape
impl UnwindSafe for FlatShape
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> SpannedItem for T
impl<T> SpannedItem for T
sourceimpl<T> TaggedItem for T
impl<T> TaggedItem for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more