cedar_policy_validator::cedar_schema::parser::grammar

Trait __ToTriple

Source
pub trait __ToTriple<'input, 'err, 's> {
    // Required method
    fn to_triple(
        self,
    ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, Node<UserError>>>;
}

Required Methods§

Source

fn to_triple( self, ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, Node<UserError>>>

Implementations on Foreign Types§

Source§

impl<'input, 'err, 's> __ToTriple<'input, 'err, 's> for (usize, Token<'input>, usize)

Source§

fn to_triple( self, ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, Node<UserError>>>

Source§

impl<'input, 'err, 's> __ToTriple<'input, 'err, 's> for Result<(usize, Token<'input>, usize), Node<UserError>>

Source§

fn to_triple( self, ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, Node<UserError>>>

Implementors§