pub(crate) enum ExceptionSlot {
Lower = 0,
Fold = 1,
Upper = 2,
Title = 3,
Delta = 4,
Closure = 6,
FullMappings = 7,
}
Expand description
The different slots that may be present in slot-based exception data
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Variants§
Lower = 0
Lowercase mapping
Fold = 1
Case folding
Upper = 2
Uppercase mapping
Title = 3
Titlecase mapping
Delta = 4
The delta to the simple case folding
Closure = 6
The closure set
FullMappings = 7
The four full-mappings
Implementations§
Source§impl ExceptionSlot
impl ExceptionSlot
Sourcepub(crate) const STRING_SLOTS_START: Self = Self::Closure
pub(crate) const STRING_SLOTS_START: Self = Self::Closure
Where the string slots begin
Trait Implementations§
Source§impl Clone for ExceptionSlot
impl Clone for ExceptionSlot
Source§fn clone(&self) -> ExceptionSlot
fn clone(&self) -> ExceptionSlot
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 ExceptionSlot
impl Debug for ExceptionSlot
Source§impl From<MappingKind> for ExceptionSlot
impl From<MappingKind> for ExceptionSlot
Source§fn from(full: MappingKind) -> Self
fn from(full: MappingKind) -> Self
Converts to this type from the input type.
Source§impl Ord for ExceptionSlot
impl Ord for ExceptionSlot
Source§fn cmp(&self, other: &ExceptionSlot) -> Ordering
fn cmp(&self, other: &ExceptionSlot) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExceptionSlot
impl PartialEq for ExceptionSlot
Source§impl PartialOrd for ExceptionSlot
impl PartialOrd for ExceptionSlot
impl Copy for ExceptionSlot
impl Eq for ExceptionSlot
impl StructuralPartialEq for ExceptionSlot
Auto Trait Implementations§
impl Freeze for ExceptionSlot
impl RefUnwindSafe for ExceptionSlot
impl Send for ExceptionSlot
impl Sync for ExceptionSlot
impl Unpin for ExceptionSlot
impl UnwindSafe for ExceptionSlot
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