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ยง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
)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