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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more