Struct ra_ap_syntax::Token [−][src]
pub struct Token {
pub kind: SyntaxKind,
pub len: TextSize,
}Expand description
A token of Rust source.
Fields
kind: SyntaxKindThe kind of token.
len: TextSizeThe length of the token.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.