Enum rustc_expand::mbe::macro_parser::TokenTreeOrTokenTreeSlice [−][src]
Expand description
Either a sequence of token trees or a single one. This is used as the representation of the sequence of tokens that make up a matcher.
Variants
Tt(TokenTree)
Tuple Fields of Tt
0: TokenTree
Implementations
Trait Implementations
Auto Trait Implementations
impl<'tt> !RefUnwindSafe for TokenTreeOrTokenTreeSlice<'tt>
impl<'tt> !Send for TokenTreeOrTokenTreeSlice<'tt>
impl<'tt> !Sync for TokenTreeOrTokenTreeSlice<'tt>
impl<'tt> Unpin for TokenTreeOrTokenTreeSlice<'tt>
impl<'tt> !UnwindSafe for TokenTreeOrTokenTreeSlice<'tt>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes
Size for each variant:
Tt
: 32 bytesTtSeq
: 16 bytes