pub struct DecompositionTables<'data> {
pub scalars16: ZeroVec<'data, u16>,
pub scalars24: ZeroVec<'data, char>,
}
Expand description
The expansion tables for cases where the decomposition isn’t contained in the trie value
🚧 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§
§scalars16: ZeroVec<'data, u16>
Decompositions that are fully within the BMP
scalars24: ZeroVec<'data, char>
Decompositions with at least one character outside the BMP
Trait Implementations§
Source§impl<'data> Clone for DecompositionTables<'data>
impl<'data> Clone for DecompositionTables<'data>
Source§fn clone(&self) -> DecompositionTables<'data>
fn clone(&self) -> DecompositionTables<'data>
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<'data> Debug for DecompositionTables<'data>
impl<'data> Debug for DecompositionTables<'data>
Source§impl<'de, 'data> Deserialize<'de> for DecompositionTables<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for DecompositionTables<'data>where
'de: 'data,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecompositionTables<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecompositionTables<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MaybeAsVarULE for DecompositionTables<'_>
impl MaybeAsVarULE for DecompositionTables<'_>
Source§impl<'data> PartialEq for DecompositionTables<'data>
impl<'data> PartialEq for DecompositionTables<'data>
Source§impl<'a> Yokeable<'a> for DecompositionTables<'static>
impl<'a> Yokeable<'a> for DecompositionTables<'static>
Source§type Output = DecompositionTables<'a>
type Output = DecompositionTables<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Source§fn transform_owned(
self,
) -> <DecompositionTables<'static> as Yokeable<'a>>::Output
fn transform_owned( self, ) -> <DecompositionTables<'static> as Yokeable<'a>>::Output
Source§unsafe fn make(
this: <DecompositionTables<'static> as Yokeable<'a>>::Output,
) -> DecompositionTables<'static>
unsafe fn make( this: <DecompositionTables<'static> as Yokeable<'a>>::Output, ) -> DecompositionTables<'static>
This method can be used to cast away
Self<'a>
’s lifetime. Read moreSource§fn transform_mut<F>(&'a mut self, f: F)
fn transform_mut<F>(&'a mut self, f: F)
This method must cast
self
between &'a mut Self<'static>
and &'a mut Self<'a>
,
and pass it to f
. Read moreSource§impl<'zf, 'zf_inner> ZeroFrom<'zf, DecompositionTables<'zf_inner>> for DecompositionTables<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, DecompositionTables<'zf_inner>> for DecompositionTables<'zf>
Source§fn zero_from(
this: &'zf DecompositionTables<'zf_inner>,
) -> DecompositionTables<'zf>
fn zero_from( this: &'zf DecompositionTables<'zf_inner>, ) -> DecompositionTables<'zf>
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for DecompositionTables<'data>
Auto Trait Implementations§
impl<'data> Freeze for DecompositionTables<'data>
impl<'data> RefUnwindSafe for DecompositionTables<'data>
impl<'data> Send for DecompositionTables<'data>
impl<'data> Sync for DecompositionTables<'data>
impl<'data> Unpin for DecompositionTables<'data>
impl<'data> UnwindSafe for DecompositionTables<'data>
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