Enum icu_collator::MaxVariable
source · #[non_exhaustive]#[repr(u8)]pub enum MaxVariable {
Space = 0,
Punctuation = 1,
Symbol = 2,
Currency = 3,
}
Expand description
What characters get shifted to the quaternary level
with AlternateHandling::Shifted
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Space = 0
Characters classified as spaces are shifted.
Punctuation = 1
Characters classified as spaces or punctuation are shifted.
Symbol = 2
Characters classified as spaces, punctuation, or symbols are shifted.
Currency = 3
Characters classified as spaces, punctuation, symbols, or currency symbols are shifted.
Trait Implementations§
source§impl Clone for MaxVariable
impl Clone for MaxVariable
source§fn clone(&self) -> MaxVariable
fn clone(&self) -> MaxVariable
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 MaxVariable
impl Debug for MaxVariable
source§impl PartialEq for MaxVariable
impl PartialEq for MaxVariable
source§fn eq(&self, other: &MaxVariable) -> bool
fn eq(&self, other: &MaxVariable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MaxVariable
impl Eq for MaxVariable
impl StructuralPartialEq for MaxVariable
Auto Trait Implementations§
impl Freeze for MaxVariable
impl RefUnwindSafe for MaxVariable
impl Send for MaxVariable
impl Sync for MaxVariable
impl Unpin for MaxVariable
impl UnwindSafe for MaxVariable
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