Struct cssparser::UnicodeRange[][src]

pub struct UnicodeRange {
    pub start: u32,
    pub end: u32,
}

One contiguous range of code points.

Can not be empty. Can represent a single code point when start == end.

Fields

Inclusive start of the range. In [0, end].

Inclusive end of the range. In [0, 0x10FFFF].

Methods

impl UnicodeRange
[src]

https://drafts.csswg.org/css-syntax/#urange-syntax

Trait Implementations

impl PartialEq for UnicodeRange
[src]

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

This method tests for !=.

impl Eq for UnicodeRange
[src]

impl Clone for UnicodeRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for UnicodeRange
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for UnicodeRange
[src]

Formats the value using the given formatter. Read more

impl ToCss for UnicodeRange
[src]

Serialize self in CSS syntax, writing to dest.

Serialize self in CSS syntax and return a string. Read more

Auto Trait Implementations