pub struct CanonicalCompositions<'data> {
pub canonical_compositions: Char16Trie<'data>,
}
Expand description
Non-Hangul canonical compositions
๐ง 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ยง
ยงcanonical_compositions: Char16Trie<'data>
Trie keys are two-char
strings with the second
character coming first. The value, if any, is the
(non-Hangul) canonical composition.
Trait Implementationsยง
Sourceยงimpl<'data> Clone for CanonicalCompositions<'data>
impl<'data> Clone for CanonicalCompositions<'data>
Sourceยงfn clone(&self) -> CanonicalCompositions<'data>
fn clone(&self) -> CanonicalCompositions<'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 CanonicalCompositions<'data>
impl<'data> Debug for CanonicalCompositions<'data>
Sourceยงimpl<'de, 'data> Deserialize<'de> for CanonicalCompositions<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for CanonicalCompositions<'data>where
'de: 'data,
Sourceยงfn deserialize<__D>(
__deserializer: __D,
) -> Result<CanonicalCompositions<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CanonicalCompositions<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl MaybeAsVarULE for CanonicalCompositions<'_>
impl MaybeAsVarULE for CanonicalCompositions<'_>
Sourceยงimpl<'data> PartialEq for CanonicalCompositions<'data>
impl<'data> PartialEq for CanonicalCompositions<'data>
Sourceยงfn eq(&self, other: &CanonicalCompositions<'data>) -> bool
fn eq(&self, other: &CanonicalCompositions<'data>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl<'a> Yokeable<'a> for CanonicalCompositions<'static>
impl<'a> Yokeable<'a> for CanonicalCompositions<'static>
Sourceยงtype Output = CanonicalCompositions<'a>
type Output = CanonicalCompositions<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Sourceยงfn transform_owned(
self,
) -> <CanonicalCompositions<'static> as Yokeable<'a>>::Output
fn transform_owned( self, ) -> <CanonicalCompositions<'static> as Yokeable<'a>>::Output
Sourceยงunsafe fn make(
this: <CanonicalCompositions<'static> as Yokeable<'a>>::Output,
) -> CanonicalCompositions<'static>
unsafe fn make( this: <CanonicalCompositions<'static> as Yokeable<'a>>::Output, ) -> CanonicalCompositions<'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 <CanonicalCompositions<'static> as Yokeable<'a>>::Output),
fn transform_mut<F>(&'a mut self, f: F)where
F: 'static + for<'b> FnOnce(&'b mut <CanonicalCompositions<'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, CanonicalCompositions<'zf_inner>> for CanonicalCompositions<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, CanonicalCompositions<'zf_inner>> for CanonicalCompositions<'zf>
Sourceยงfn zero_from(
this: &'zf CanonicalCompositions<'zf_inner>,
) -> CanonicalCompositions<'zf>
fn zero_from( this: &'zf CanonicalCompositions<'zf_inner>, ) -> CanonicalCompositions<'zf>
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for CanonicalCompositions<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for CanonicalCompositions<'data>
impl<'data> RefUnwindSafe for CanonicalCompositions<'data>
impl<'data> Send for CanonicalCompositions<'data>
impl<'data> Sync for CanonicalCompositions<'data>
impl<'data> Unpin for CanonicalCompositions<'data>
impl<'data> UnwindSafe for CanonicalCompositions<'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