pub struct CanonicalCompositionsNew<'data> {
pub trie: CodePointTrie<'data, u16>,
pub linear16: ZeroVec<'data, (u16, u16)>,
pub linear24: ZeroVec<'data, (char, char)>,
}Expand description
Non-Hangul canonical compositions, new format
๐ง 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, u16>Trie from primary character to index into linear.
If the first character of the pair is
'a' | 'e' | 'i' | 'o' | 'u' | 'A' | 'E' | 'I' | 'O' | 'U',
the primary character is the second item in the pair. Otherwise,
the primary character is the first item in the pair.
linear16: ZeroVec<'data, (u16, u16)>Compositions that are fully within the BMP
linear24: ZeroVec<'data, (char, char)>Compositions with at least one character outside the BMP
Trait Implementationsยง
Sourceยงimpl<'data> Clone for CanonicalCompositionsNew<'data>
impl<'data> Clone for CanonicalCompositionsNew<'data>
Sourceยงfn clone(&self) -> CanonicalCompositionsNew<'data>
fn clone(&self) -> CanonicalCompositionsNew<'data>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท 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 CanonicalCompositionsNew<'data>
impl<'data> Debug for CanonicalCompositionsNew<'data>
Sourceยงimpl MaybeAsVarULE for CanonicalCompositionsNew<'_>
impl MaybeAsVarULE for CanonicalCompositionsNew<'_>
Sourceยงimpl<'data> PartialEq for CanonicalCompositionsNew<'data>
impl<'data> PartialEq for CanonicalCompositionsNew<'data>
Sourceยงfn eq(&self, other: &CanonicalCompositionsNew<'data>) -> bool
fn eq(&self, other: &CanonicalCompositionsNew<'data>) -> bool
Tests for
self and other values to be equal, and is used by ==.Sourceยงimpl<'yoke> Yokeable<'yoke> for CanonicalCompositionsNew<'static>
impl<'yoke> Yokeable<'yoke> for CanonicalCompositionsNew<'static>
Sourceยงtype Output = CanonicalCompositionsNew<'yoke>
type Output = CanonicalCompositionsNew<'yoke>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Sourceยงfn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Sourceยงimpl<'zf, 'zf_inner> ZeroFrom<'zf, CanonicalCompositionsNew<'zf_inner>> for CanonicalCompositionsNew<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, CanonicalCompositionsNew<'zf_inner>> for CanonicalCompositionsNew<'zf>
Sourceยงfn zero_from(this: &'zf CanonicalCompositionsNew<'zf_inner>) -> Self
fn zero_from(this: &'zf CanonicalCompositionsNew<'zf_inner>) -> Self
Clone the other
C into a struct that may retain references into C.impl<'data> StructuralPartialEq for CanonicalCompositionsNew<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for CanonicalCompositionsNew<'data>
impl<'data> RefUnwindSafe for CanonicalCompositionsNew<'data>
impl<'data> Send for CanonicalCompositionsNew<'data>
impl<'data> Sync for CanonicalCompositionsNew<'data>
impl<'data> Unpin for CanonicalCompositionsNew<'data>
impl<'data> UnsafeUnpin for CanonicalCompositionsNew<'data>
impl<'data> UnwindSafe for CanonicalCompositionsNew<'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