Enum icu_casemap::provider::exception_helpers::ExceptionSlot
source ยท 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ยงfn eq(&self, other: &ExceptionSlot) -> bool
fn eq(&self, other: &ExceptionSlot) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.sourceยงimpl PartialOrd for ExceptionSlot
impl PartialOrd for ExceptionSlot
sourceยงfn partial_cmp(&self, other: &ExceptionSlot) -> Option<Ordering>
fn partial_cmp(&self, other: &ExceptionSlot) -> Option<Ordering>
1.0.0 ยท sourceยงfn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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