Struct cssparser::Delimiters
source · pub struct Delimiters { /* private fields */ }Expand description
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§
source§impl BitOr<Delimiters> for Delimiters
impl BitOr<Delimiters> for Delimiters
§type Output = Delimiters
type Output = Delimiters
The resulting type after applying the
| operator.source§fn bitor(self, other: Delimiters) -> Delimiters
fn bitor(self, other: Delimiters) -> Delimiters
Performs the
| operation. Read moresource§impl Clone for Delimiters
impl Clone for Delimiters
source§fn clone(&self) -> Delimiters
fn clone(&self) -> Delimiters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more