pub struct Token(/* private fields */);Implementations§
Trait Implementations§
source§impl LexicalFormOf<TokenBuf> for Token
impl LexicalFormOf<TokenBuf> for Token
type ValueError = InvalidToken
fn try_as_value(&self) -> Result<TokenBuf, Self::ValueError>
source§impl PartialEq for Token
impl PartialEq for Token
source§impl PartialOrd for Token
impl PartialOrd for Token
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more