Struct cssparser::UnicodeRange [−][src]
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]
impl UnicodeRangepub fn parse<'i, 't>(
input: &mut Parser<'i, 't>
) -> Result<Self, BasicParseError<'i>>[src]
pub fn parse<'i, 't>(
input: &mut Parser<'i, 't>
) -> Result<Self, BasicParseError<'i>>https://drafts.csswg.org/css-syntax/#urange-syntax
Trait Implementations
impl PartialEq for UnicodeRange[src]
impl PartialEq for UnicodeRangefn eq(&self, other: &UnicodeRange) -> bool[src]
fn eq(&self, other: &UnicodeRange) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &UnicodeRange) -> bool[src]
fn ne(&self, other: &UnicodeRange) -> boolThis method tests for !=.
impl Eq for UnicodeRange[src]
impl Eq for UnicodeRangeimpl Clone for UnicodeRange[src]
impl Clone for UnicodeRangefn clone(&self) -> UnicodeRange[src]
fn clone(&self) -> UnicodeRangeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Hash for UnicodeRange[src]
impl Hash for UnicodeRangefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for UnicodeRange[src]
impl Debug for UnicodeRangefn fmt(&self, formatter: &mut Formatter) -> Result[src]
fn fmt(&self, formatter: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl ToCss for UnicodeRange[src]
impl ToCss for UnicodeRangeAuto Trait Implementations
impl Send for UnicodeRange
impl Send for UnicodeRangeimpl Sync for UnicodeRange
impl Sync for UnicodeRange