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
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]
input: &mut Parser<'i, 't>
) -> Result<Self, BasicParseError<'i>>
Trait Implementations
impl PartialEq for UnicodeRange
[src]
fn eq(&self, __arg_0: &UnicodeRange) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnicodeRange) -> bool
[src]
This method tests for !=
.
impl Eq for UnicodeRange
[src]
impl Clone for UnicodeRange
[src]
fn clone(&self) -> UnicodeRange
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for UnicodeRange
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for UnicodeRange
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more