Enum dprint_swc_ecma_ast_view::NodeOrToken [−][src]
pub enum NodeOrToken<'a> {
Node(Node<'a>),
Token(&'a TokenAndSpan),
}
Variants
Node(Node<'a>)
Tuple Fields of Node
0: Node<'a>
Token(&'a TokenAndSpan)
Tuple Fields of Token
0: &'a TokenAndSpan
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for NodeOrToken<'a>
impl<'a> !Send for NodeOrToken<'a>
impl<'a> !Sync for NodeOrToken<'a>
impl<'a> Unpin for NodeOrToken<'a>
impl<'a> !UnwindSafe for NodeOrToken<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more