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
sourceimpl Clone for MaxVariable
impl Clone for MaxVariable
sourcefn clone(&self) -> MaxVariable
fn clone(&self) -> MaxVariable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MaxVariable
impl Debug for MaxVariable
sourceimpl PartialEq<MaxVariable> for MaxVariable
impl PartialEq<MaxVariable> for MaxVariable
impl Copy for MaxVariable
impl Eq for MaxVariable
impl StructuralEq for MaxVariable
impl StructuralPartialEq for MaxVariable
Auto Trait Implementations
impl RefUnwindSafe for MaxVariable
impl Send for MaxVariable
impl Sync for MaxVariable
impl Unpin for MaxVariable
impl UnwindSafe for MaxVariable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more