pub enum CharacterDecomposition {
NoDecomposition,
Singleton(char),
Pair(char, char),
}
Expand description
The result of a single step of the Unicode canonical decomposition algorithm
Variants§
NoDecomposition
The character could not be decomposed further
Singleton(char)
Pair(char, char)
The first character may decompose further, but the second cannot
Trait Implementations§
Source§impl Clone for CharacterDecomposition
impl Clone for CharacterDecomposition
Source§fn clone(&self) -> CharacterDecomposition
fn clone(&self) -> CharacterDecomposition
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 CharacterDecomposition
impl Debug for CharacterDecomposition
Source§impl Hash for CharacterDecomposition
impl Hash for CharacterDecomposition
Source§impl PartialEq for CharacterDecomposition
impl PartialEq for CharacterDecomposition
impl Copy for CharacterDecomposition
impl Eq for CharacterDecomposition
impl StructuralPartialEq for CharacterDecomposition
Auto Trait Implementations§
impl Freeze for CharacterDecomposition
impl RefUnwindSafe for CharacterDecomposition
impl Send for CharacterDecomposition
impl Sync for CharacterDecomposition
impl Unpin for CharacterDecomposition
impl UnwindSafe for CharacterDecomposition
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