Struct CanonicalDecomposition

struct CanonicalDecomposition { ... }

The raw (non-recursive) canonical decomposition operation.

Callers should generally use DecomposingNormalizer instead of this API. However, this API is provided for callers such as HarfBuzz that specifically want access to non-recursive canonical decomposition e.g. for use in a glyph-availability-guided custom normalizer.

Implementations

impl CanonicalDecomposition

fn as_borrowed(self: &Self) -> CanonicalDecompositionBorrowed<'_>

Constructs a borrowed version of this type for more efficient querying.

const fn new() -> CanonicalDecompositionBorrowed<'static>

Construct from compiled data.

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

fn try_new_unstable<D>(provider: &D) -> Result<Self, DataError>
where
    D: DataProvider<NormalizerNfdDataV1> + DataProvider<NormalizerNfdTablesV1> + DataProvider<NormalizerNfdSupplementV1> + ?Sized

A version of Self::new that uses custom data provided by a DataProvider.

📚 Help choosing a constructor

⚠️ The bounds on provider may change over time, including in SemVer minor releases.

impl Debug for CanonicalDecomposition

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for CanonicalDecomposition

fn default() -> Self

impl Freeze for CanonicalDecomposition

impl RefUnwindSafe for CanonicalDecomposition

impl Send for CanonicalDecomposition

impl Sync for CanonicalDecomposition

impl Unpin for CanonicalDecomposition

impl UnsafeUnpin for CanonicalDecomposition

impl UnwindSafe for CanonicalDecomposition

impl<T> Any for CanonicalDecomposition

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for CanonicalDecomposition

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for CanonicalDecomposition

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> ErasedDestructor for CanonicalDecomposition

impl<T> From for CanonicalDecomposition

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for CanonicalDecomposition

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for CanonicalDecomposition

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for CanonicalDecomposition

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>