pub enum TokelTree {
Group(TokelGroup),
Ident(Ident),
Literal(Literal),
Punct(Punct),
}Expand description
A tokel-specific TokenTree.
This is used to perform recursive-descent expansion of all tokens.
Variants§
Group(TokelGroup)
A delimited sequence of tokens.
Ident(Ident)
An identifier.
Literal(Literal)
A literal.
Punct(Punct)
A punctuation fragment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokelTree
impl RefUnwindSafe for TokelTree
impl !Send for TokelTree
impl !Sync for TokelTree
impl Unpin for TokelTree
impl UnsafeUnpin for TokelTree
impl UnwindSafe for TokelTree
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