pub enum CaseClass {
Upper,
Lower,
}Expand description
Parse a tr character set string into a Vec
Supports:
- Literal characters
- Escape sequences: \, \a, \b, \f, \n, \r, \t, \v, \NNN (octal)
- Ranges: a-z, A-Z, 0-9
- Character classes: [:alnum:], [:alpha:], etc.
- Equivalence classes: [=c=]
- Repeat: [cn] or [c] (SET2 only, handled by caller) Identifies a case-conversion character class and its position in the expanded set.
Variants§
Trait Implementations§
impl Copy for CaseClass
impl Eq for CaseClass
impl StructuralPartialEq for CaseClass
Auto Trait Implementations§
impl Freeze for CaseClass
impl RefUnwindSafe for CaseClass
impl Send for CaseClass
impl Sync for CaseClass
impl Unpin for CaseClass
impl UnsafeUnpin for CaseClass
impl UnwindSafe for CaseClass
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