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]

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 state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for UnicodeRange
[src]

Formats the value using the given formatter.

impl ToCss for UnicodeRange
[src]

Serialize self in CSS syntax, writing to dest.

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

Serialize self in CSS syntax and return a result compatible with std::fmt::Show. Read more