Trait Parse

Source
pub trait Parse: Sized {
    // Required method
    fn parse<'i, 't>(
        parser: &mut Parser<'i, 't>,
    ) -> Result<Self, PropertyParseError<'i>>;
}

Required Methods§

Source

fn parse<'i, 't>( parser: &mut Parser<'i, 't>, ) -> Result<Self, PropertyParseError<'i>>

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 Parse for Color

Source§

fn parse<'i, 't>( parser: &mut Parser<'i, 't>, ) -> Result<Self, PropertyParseError<'i>>

Implementors§