Enum icu_collator::MaxVariable
source · #[repr(u8)]
#[non_exhaustive]
pub enum MaxVariable {
Space,
Punctuation,
Symbol,
Currency,
}
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
Characters classified as spaces are shifted.
Punctuation
Characters classified as spaces or punctuation are shifted.
Symbol
Characters classified as spaces, punctuation, or symbols are shifted.
Currency
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<MaxVariable> for MaxVariable
impl PartialEq<MaxVariable> 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 ==
.