Struct icu::casemapping::provider::CaseMappingData
source · [−]pub struct CaseMappingData(_);
Expand description
The datatype stored in the codepoint trie for casemapping.
Trait Implementations
sourceimpl AsULE for CaseMappingData
impl AsULE for CaseMappingData
type ULE = RawBytesULE<2_usize>
type ULE = RawBytesULE<2_usize>
The ULE type corresponding to Self
. Read more
sourcefn to_unaligned(self) -> <CaseMappingData as AsULE>::ULE
fn to_unaligned(self) -> <CaseMappingData as AsULE>::ULE
Converts from Self
to Self::ULE
. Read more
sourcefn from_unaligned(unaligned: <CaseMappingData as AsULE>::ULE) -> CaseMappingData
fn from_unaligned(unaligned: <CaseMappingData as AsULE>::ULE) -> CaseMappingData
Converts from Self::ULE
to Self
. Read more
sourceimpl Bake for CaseMappingData
impl Bake for CaseMappingData
sourcefn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Returns a TokenStream
that would evaluate to self
. Read more
sourceimpl Clone for CaseMappingData
impl Clone for CaseMappingData
sourcefn clone(&self) -> CaseMappingData
fn clone(&self) -> CaseMappingData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CaseMappingData
impl Debug for CaseMappingData
sourceimpl<'de> Deserialize<'de> for CaseMappingData
impl<'de> Deserialize<'de> for CaseMappingData
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CaseMappingData, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CaseMappingData, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CaseMappingData> for CaseMappingData
impl PartialEq<CaseMappingData> for CaseMappingData
sourcefn eq(&self, other: &CaseMappingData) -> bool
fn eq(&self, other: &CaseMappingData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CaseMappingData) -> bool
fn ne(&self, other: &CaseMappingData) -> bool
This method tests for !=
.
sourceimpl Serialize for CaseMappingData
impl Serialize for CaseMappingData
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TrieValue for CaseMappingData
impl TrieValue for CaseMappingData
type TryFromU32Error = TryFromIntError
type TryFromU32Error = TryFromIntError
Last-resort fallback value to return if we cannot read data from the trie. Read more
sourcefn try_from_u32(
i: u32
) -> Result<CaseMappingData, <CaseMappingData as TrieValue>::TryFromU32Error>
fn try_from_u32(
i: u32
) -> Result<CaseMappingData, <CaseMappingData 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. Read more
impl Copy for CaseMappingData
impl Eq for CaseMappingData
impl StructuralEq for CaseMappingData
impl StructuralPartialEq for CaseMappingData
Auto Trait Implementations
impl RefUnwindSafe for CaseMappingData
impl Send for CaseMappingData
impl Sync for CaseMappingData
impl Unpin for CaseMappingData
impl UnwindSafe for CaseMappingData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more