pub enum Node {
Tokens(TokensNode),
Interp(InterpNode),
At(AtNode),
Group(GroupNode),
}Variants§
Implementations§
Source§impl Node
impl Node
pub fn parse_brace(input: ParseStream<'_>) -> Result<Self>
Trait Implementations§
Source§impl From<InterpNode> for Node
impl From<InterpNode> for Node
Source§fn from(v: InterpNode) -> Self
fn from(v: InterpNode) -> Self
Converts to this type from the input type.
Source§impl From<TokensNode> for Node
impl From<TokensNode> for Node
Source§fn from(v: TokensNode) -> Self
fn from(v: TokensNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl !Send for Node
impl !Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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