Struct icu_casemap::provider::data::CaseMapData
source ยท pub struct CaseMapData {
pub ignoreable: bool,
pub kind: CaseMapDataKind,
}
Expand description
Case mapping data associated with a single code point
๐ง 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.
Fieldsยง
ยงignoreable: bool
Whether this is default-ignoreable
kind: CaseMapDataKind
The rest of the case mapping data
Implementationsยง
sourceยงimpl CaseMapData
impl CaseMapData
pub(crate) fn case_type(&self) -> Option<CaseType>
pub(crate) fn is_upper_or_title(&self) -> bool
pub(crate) fn is_relevant_to(&self, kind: MappingKind) -> bool
pub(crate) fn is_ignorable(&self) -> bool
pub(crate) fn has_exception(&self) -> bool
pub(crate) fn is_sensitive(&self) -> bool
pub(crate) fn dot_type(&self) -> DotType
pub(crate) fn delta(&self) -> i16
pub(crate) fn exception_index(&self) -> u16
Trait Implementationsยง
sourceยงimpl AsULE for CaseMapData
impl AsULE for CaseMapData
sourceยงtype ULE = CaseMapDataULE
type ULE = CaseMapDataULE
The ULE type corresponding to
Self
. Read moresourceยงfn from_unaligned(ule: Self::ULE) -> Self
fn from_unaligned(ule: Self::ULE) -> Self
sourceยงfn to_unaligned(self) -> Self::ULE
fn to_unaligned(self) -> Self::ULE
sourceยงimpl Clone for CaseMapData
impl Clone for CaseMapData
sourceยงfn clone(&self) -> CaseMapData
fn clone(&self) -> CaseMapData
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 CaseMapData
impl Debug for CaseMapData
sourceยงimpl PartialEq for CaseMapData
impl PartialEq for CaseMapData
sourceยงimpl TrieValue for CaseMapData
impl TrieValue for CaseMapData
sourceยงtype TryFromU32Error = TryFromIntError
type TryFromU32Error = TryFromIntError
Last-resort fallback value to return if we cannot read data from the trie. Read more
sourceยงfn try_from_u32(i: u32) -> Result<Self, Self::TryFromU32Error>
fn try_from_u32(i: u32) -> Result<Self, Self::TryFromU32Error>
A parsing function that is primarily motivated by deserialization contexts.
When the serialization type width is smaller than 32 bits, then it is expected
that the call site will widen the value to a
u32
first.impl Copy for CaseMapData
impl Eq for CaseMapData
impl StructuralPartialEq for CaseMapData
Auto Trait Implementationsยง
impl Freeze for CaseMapData
impl RefUnwindSafe for CaseMapData
impl Send for CaseMapData
impl Sync for CaseMapData
impl Unpin for CaseMapData
impl UnwindSafe for CaseMapData
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ยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)