Enum ucd_parse::Codepoints
source · pub enum Codepoints {
Single(Codepoint),
Range(CodepointRange),
}
Expand description
A representation of either a single codepoint or a range of codepoints.
Variants§
Trait Implementations§
source§impl Clone for Codepoints
impl Clone for Codepoints
source§fn clone(&self) -> Codepoints
fn clone(&self) -> Codepoints
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Codepoints
impl Debug for Codepoints
source§impl Default for Codepoints
impl Default for Codepoints
source§fn default() -> Codepoints
fn default() -> Codepoints
Returns the “default value” for a type. Read more
source§impl Display for Codepoints
impl Display for Codepoints
source§impl FromStr for Codepoints
impl FromStr for Codepoints
source§impl Hash for Codepoints
impl Hash for Codepoints
source§impl IntoIterator for Codepoints
impl IntoIterator for Codepoints
source§impl Ord for Codepoints
impl Ord for Codepoints
source§fn cmp(&self, other: &Codepoints) -> Ordering
fn cmp(&self, other: &Codepoints) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<(Codepoint, Codepoint)> for Codepoints
impl PartialEq<(Codepoint, Codepoint)> for Codepoints
source§impl PartialEq<(u32, u32)> for Codepoints
impl PartialEq<(u32, u32)> for Codepoints
source§impl PartialEq<Codepoint> for Codepoints
impl PartialEq<Codepoint> for Codepoints
source§impl PartialEq<u32> for Codepoints
impl PartialEq<u32> for Codepoints
source§impl PartialEq for Codepoints
impl PartialEq for Codepoints
source§fn eq(&self, other: &Codepoints) -> bool
fn eq(&self, other: &Codepoints) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Codepoints
impl PartialOrd for Codepoints
source§fn partial_cmp(&self, other: &Codepoints) -> Option<Ordering>
fn partial_cmp(&self, other: &Codepoints) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Codepoints
impl Eq for Codepoints
impl StructuralEq for Codepoints
impl StructuralPartialEq for Codepoints
Auto Trait Implementations§
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