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

Trait Implementationsยง

sourceยง

impl AsULE for CaseMapData

ยง

type ULE = CaseMapDataULE

The ULE type corresponding to Self. Read more
sourceยง

fn from_unaligned(ule: <CaseMapData as AsULE>::ULE) -> CaseMapData

Converts from Self::ULE to Self. Read more
sourceยง

fn to_unaligned(self) -> <CaseMapData as AsULE>::ULE

Converts from Self to Self::ULE. Read more
sourceยง

impl Clone for CaseMapData

sourceยง

fn clone(&self) -> CaseMapData

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
sourceยง

impl Debug for CaseMapData

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
sourceยง

impl<'de> Deserialize<'de> for CaseMapData

sourceยง

fn deserialize<__D>( __deserializer: __D ) -> Result<CaseMapData, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
sourceยง

impl PartialEq for CaseMapData

sourceยง

fn eq(&self, other: &CaseMapData) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 ยท sourceยง

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
sourceยง

impl TrieValue for CaseMapData

ยง

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<CaseMapData, <CaseMapData as TrieValue>::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.
sourceยง

fn to_u32(self) -> u32

A method for converting back to a u32 that can roundtrip through Self::try_from_u32(). The default implementation of this trait method panics in debug mode and returns 0 in release mode. Read more
sourceยง

impl Copy for CaseMapData

sourceยง

impl Eq for CaseMapData

sourceยง

impl StructuralPartialEq for CaseMapData

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
sourceยง

impl<T> From<T> for T

sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

sourceยง

impl<T> ToOwned for T
where T: Clone,

ยง

type Owned = T

The resulting type after obtaining ownership.
sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

ยง

type Error = Infallible

The type returned in the event of a conversion error.
sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

ยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
sourceยง

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

sourceยง

impl<T> ErasedDestructor for T
where T: 'static,

sourceยง

impl<T> MaybeSendSync for T
where T: Send + Sync,