Enum precis_core::Codepoints
source · pub enum Codepoints {
Single(u32),
Range(RangeInclusive<u32>),
}
Expand description
A representation of either a single codepoint or a range of codepoints.
Variants§
Trait Implementations§
source§impl Debug for Codepoints
impl Debug for Codepoints
source§impl Display for Codepoints
impl Display for Codepoints
source§impl PartialEq<Codepoints> for RangeInclusive<u32>
impl PartialEq<Codepoints> for RangeInclusive<u32>
source§impl PartialEq<Codepoints> for u32
impl PartialEq<Codepoints> for u32
source§impl PartialEq<RangeInclusive<u32>> for Codepoints
impl PartialEq<RangeInclusive<u32>> for Codepoints
source§impl PartialEq<u32> for Codepoints
impl PartialEq<u32> for Codepoints
source§impl PartialEq for Codepoints
impl PartialEq for Codepoints
source§impl PartialOrd<Codepoints> for u32
impl PartialOrd<Codepoints> for u32
source§fn partial_cmp(&self, other: &Codepoints) -> Option<Ordering>
fn partial_cmp(&self, other: &Codepoints) -> Option<Ordering>
source§fn lt(&self, other: &Codepoints) -> bool
fn lt(&self, other: &Codepoints) -> bool
source§fn le(&self, other: &Codepoints) -> bool
fn le(&self, other: &Codepoints) -> bool
source§fn gt(&self, other: &Codepoints) -> bool
fn gt(&self, other: &Codepoints) -> bool
source§impl PartialOrd<u32> for Codepoints
impl PartialOrd<u32> for Codepoints
impl Eq for Codepoints
Auto Trait Implementations§
impl Freeze for Codepoints
impl RefUnwindSafe for Codepoints
impl Send for Codepoints
impl Sync for Codepoints
impl Unpin for Codepoints
impl UnwindSafe for Codepoints
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more