Trait chalk_parse::parser::__ToTriple

source ·
pub trait __ToTriple<'input> {
    // Required method
    fn to_triple(
        value: Self,
    ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, &'static str>>;
}

Required Methods§

source

fn to_triple( value: Self, ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, &'static str>>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

fn to_triple( value: Self, ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, &'static str>>

source§

impl<'input> __ToTriple<'input> for Result<(usize, Token<'input>, usize), &'static str>

source§

fn to_triple( value: Self, ) -> Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, &'static str>>

Implementors§