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
impl AsULE for CaseMapData
Source§type ULE = CaseMapDataULE
type ULE = CaseMapDataULE
The ULE type corresponding to
Self
. Read moreSource§fn from_unaligned(ule: <CaseMapData as AsULE>::ULE) -> CaseMapData
fn from_unaligned(ule: <CaseMapData as AsULE>::ULE) -> CaseMapData
Source§fn to_unaligned(self) -> <CaseMapData as AsULE>::ULE
fn to_unaligned(self) -> <CaseMapData as AsULE>::ULE
Source§impl Bake for CaseMapData
impl Bake for CaseMapData
Source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Source§impl BakeSize for CaseMapData
impl BakeSize for CaseMapData
Source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
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<'de> Deserialize<'de> for CaseMapData
impl<'de> Deserialize<'de> for CaseMapData
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CaseMapData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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
impl PartialEq for CaseMapData
Source§impl Serialize for CaseMapData
impl Serialize for CaseMapData
Source§fn 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
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<CaseMapData, <CaseMapData as TrieValue>::TryFromU32Error>
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.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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more