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