#[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§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