Trait style::parser::Parse [] [src]

pub trait Parse: Sized {
    fn parse<'i, 't>(
        context: &ParserContext,
        input: &mut Parser<'i, 't>
    ) -> Result<Self, ParseError<'i>>; }

A trait to abstract parsing of a specified value given a ParserContext and CSS input.

Required Methods

Parse a value of this type.

Returns an error on failure.

Implementations on Foreign Types

impl<T> Parse for Vec<T> where
    T: Parse + OneOrMoreSeparated,
    <T as OneOrMoreSeparated>::S: Separator
[src]

[src]

impl Parse for UnicodeRange
[src]

[src]

Implementors