pub struct NonRecursiveDecompositionSupplement<'data> {
pub trie: CodePointTrie<'data, u32>,
pub scalars24: ZeroVec<'data, char>,
}
Expand description
Non-recursive canonical decompositions that differ from
DecompositionData
.
🚧 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§
§trie: CodePointTrie<'data, u32>
Trie for the supplementary non-recursive decompositions
scalars24: ZeroVec<'data, char>
Decompositions with at least one character outside the BMP
Trait Implementations§
Source§impl<'data> Bake for NonRecursiveDecompositionSupplement<'data>
impl<'data> Bake for NonRecursiveDecompositionSupplement<'data>
Source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Source§impl<'data> BakeSize for NonRecursiveDecompositionSupplement<'data>
impl<'data> BakeSize for NonRecursiveDecompositionSupplement<'data>
Source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
Source§impl<'data> Clone for NonRecursiveDecompositionSupplement<'data>
impl<'data> Clone for NonRecursiveDecompositionSupplement<'data>
Source§fn clone(&self) -> NonRecursiveDecompositionSupplement<'data>
fn clone(&self) -> NonRecursiveDecompositionSupplement<'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 NonRecursiveDecompositionSupplement<'data>
impl<'data> Debug for NonRecursiveDecompositionSupplement<'data>
Source§impl<'de, 'data> Deserialize<'de> for NonRecursiveDecompositionSupplement<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for NonRecursiveDecompositionSupplement<'data>where
'de: 'data,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NonRecursiveDecompositionSupplement<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NonRecursiveDecompositionSupplement<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MaybeAsVarULE for NonRecursiveDecompositionSupplement<'_>
impl MaybeAsVarULE for NonRecursiveDecompositionSupplement<'_>
Source§impl MaybeEncodeAsVarULE for NonRecursiveDecompositionSupplement<'_>
impl MaybeEncodeAsVarULE for NonRecursiveDecompositionSupplement<'_>
Source§fn maybe_encode_as_varule(
&self,
) -> Option<&<NonRecursiveDecompositionSupplement<'_> as MaybeAsVarULE>::EncodedStruct>
fn maybe_encode_as_varule( &self, ) -> Option<&<NonRecursiveDecompositionSupplement<'_> as MaybeAsVarULE>::EncodedStruct>
Returns the
MaybeAsVarULE::EncodedStruct
that represents this data struct,
or None
if the data struct does not support this representation.Source§impl<'data> PartialEq for NonRecursiveDecompositionSupplement<'data>
impl<'data> PartialEq for NonRecursiveDecompositionSupplement<'data>
Source§fn eq(&self, other: &NonRecursiveDecompositionSupplement<'data>) -> bool
fn eq(&self, other: &NonRecursiveDecompositionSupplement<'data>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<'data> Serialize for NonRecursiveDecompositionSupplement<'data>
impl<'data> Serialize for NonRecursiveDecompositionSupplement<'data>
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<'a> Yokeable<'a> for NonRecursiveDecompositionSupplement<'static>
impl<'a> Yokeable<'a> for NonRecursiveDecompositionSupplement<'static>
Source§type Output = NonRecursiveDecompositionSupplement<'a>
type Output = NonRecursiveDecompositionSupplement<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Source§fn transform(
&'a self,
) -> &'a <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output
fn transform( &'a self, ) -> &'a <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output
Source§fn transform_owned(
self,
) -> <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output
fn transform_owned( self, ) -> <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output
Source§unsafe fn make(
this: <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output,
) -> NonRecursiveDecompositionSupplement<'static>
unsafe fn make( this: <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output, ) -> NonRecursiveDecompositionSupplement<'static>
This method can be used to cast away
Self<'a>
’s lifetime. Read moreSource§fn transform_mut<F>(&'a mut self, f: F)where
F: 'static + for<'b> FnOnce(&'b mut <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output),
fn transform_mut<F>(&'a mut self, f: F)where
F: 'static + for<'b> FnOnce(&'b mut <NonRecursiveDecompositionSupplement<'static> as Yokeable<'a>>::Output),
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, NonRecursiveDecompositionSupplement<'zf_inner>> for NonRecursiveDecompositionSupplement<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, NonRecursiveDecompositionSupplement<'zf_inner>> for NonRecursiveDecompositionSupplement<'zf>
Source§fn zero_from(
this: &'zf NonRecursiveDecompositionSupplement<'zf_inner>,
) -> NonRecursiveDecompositionSupplement<'zf>
fn zero_from( this: &'zf NonRecursiveDecompositionSupplement<'zf_inner>, ) -> NonRecursiveDecompositionSupplement<'zf>
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for NonRecursiveDecompositionSupplement<'data>
Auto Trait Implementations§
impl<'data> Freeze for NonRecursiveDecompositionSupplement<'data>
impl<'data> RefUnwindSafe for NonRecursiveDecompositionSupplement<'data>
impl<'data> Send for NonRecursiveDecompositionSupplement<'data>
impl<'data> Sync for NonRecursiveDecompositionSupplement<'data>
impl<'data> Unpin for NonRecursiveDecompositionSupplement<'data>
impl<'data> UnwindSafe for NonRecursiveDecompositionSupplement<'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