Struct CanonicalComposition

struct CanonicalComposition { ... }

The raw canonical composition operation.

Callers should generally use ComposingNormalizer instead of this API. However, this API is provided for callers such as HarfBuzz that specifically want access to the raw canonical composition operation e.g. for use in a glyph-availability-guided custom normalizer.

Implementations

impl CanonicalComposition

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

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

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

Constructs a new CanonicalCompositionBorrowed using 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<NormalizerNfcV1> + ?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 CanonicalComposition

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

impl Default for CanonicalComposition

fn default() -> Self

impl Freeze for CanonicalComposition

impl RefUnwindSafe for CanonicalComposition

impl Send for CanonicalComposition

impl Sync for CanonicalComposition

impl Unpin for CanonicalComposition

impl UnsafeUnpin for CanonicalComposition

impl UnwindSafe for CanonicalComposition

impl<T> Any for CanonicalComposition

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for CanonicalComposition

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

impl<T> BorrowMut for CanonicalComposition

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

impl<T> ErasedDestructor for CanonicalComposition

impl<T> From for CanonicalComposition

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for CanonicalComposition

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 CanonicalComposition

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

impl<T, U> TryInto for CanonicalComposition

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