[][src]Struct cssparser::UnicodeRange

#[repr(C)]
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

start: u32

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

end: u32

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

Methods

impl UnicodeRange[src]

pub fn parse<'i, 't>(
    input: &mut Parser<'i, 't>
) -> Result<Self, BasicParseError<'i>>
[src]

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

Trait Implementations

impl ToCss for UnicodeRange[src]

impl Clone for UnicodeRange[src]

impl Eq for UnicodeRange[src]

impl PartialEq<UnicodeRange> for UnicodeRange[src]

impl Debug for UnicodeRange[src]

impl Hash for UnicodeRange[src]

impl StructuralPartialEq for UnicodeRange[src]

impl StructuralEq for UnicodeRange[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]