Struct cssparser::Delimiters [] [src]

pub struct Delimiters {
    // some fields omitted
}

A set of characters, to be used with the Parser::parse_until* methods.

The union of two sets can be obtained with the | operator. Example:

input.parse_until_before(Delimiter::CurlyBracketBlock | Delimiter::Semicolon)

Trait Implementations

impl Debug for Delimiters
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for Delimiters
[src]

impl PartialEq for Delimiters
[src]

fn eq(&self, __arg_0: &Delimiters) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Delimiters) -> bool

This method tests for !=.

impl Clone for Delimiters
[src]

fn clone(&self) -> Delimiters

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Delimiters
[src]

impl BitOr<Delimiters> for Delimiters
[src]

type Output = Delimiters

The resulting type after applying the | operator

fn bitor(self, other: Delimiters) -> Delimiters

The method for the | operator