Struct rustc_lexer::Token
source · Expand description
Parsed token. It doesn’t contain information about data that has been parsed, only the type of the token and its size.
Fields§
§kind: TokenKind
§len: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
Blanket Implementations§
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: 12 bytes