flux_syntax::grammar

Trait __ToTriple

Source
pub trait __ToTriple {
    // Required method
    fn to_triple(
        value: Self,
    ) -> Result<(Location, Token, Location), ParseError<Location, Token, UserParseError>>;
}

Required Methods§

Source

fn to_triple( value: Self, ) -> Result<(Location, Token, Location), ParseError<Location, Token, UserParseError>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl __ToTriple for (Location, Token, Location)

Source§

fn to_triple( value: Self, ) -> Result<(Location, Token, Location), ParseError<Location, Token, UserParseError>>

Source§

impl __ToTriple for Result<(Location, Token, Location), UserParseError>

Source§

fn to_triple( value: Self, ) -> Result<(Location, Token, Location), ParseError<Location, Token, UserParseError>>

Implementors§