Struct circomspect_parser::lang::Token
source · pub struct Token<'input>(pub usize, pub &'input str);Tuple Fields§
§0: usize§1: &'input strTrait Implementations§
source§impl<'input> Ord for Token<'input>
impl<'input> Ord for Token<'input>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'input> PartialEq<Token<'input>> for Token<'input>
impl<'input> PartialEq<Token<'input>> for Token<'input>
source§impl<'input> PartialOrd<Token<'input>> for Token<'input>
impl<'input> PartialOrd<Token<'input>> for Token<'input>
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