[][src]Enum pango::CoverageLevel

#[non_exhaustive]pub enum CoverageLevel {
    None,
    Fallback,
    Approximate,
    Exact,
    // some variants omitted
}

Used to indicate how well a font can represent a particular Unicode character point for a particular script.

Since 1.44, only CoverageLevel::None and CoverageLevel::Exact will be returned.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None

The character is not representable with the font.

Fallback

The character is represented in a way that may be comprehensible but is not the correct graphical form. For instance, a Hangul character represented as a a sequence of Jamos, or a Latin transliteration of a Cyrillic word.

Approximate

The character is represented as basically the correct graphical form, but with a stylistic variant inappropriate for the current script.

Exact

The character is represented as the correct graphical form.

Trait Implementations

impl Clone for CoverageLevel[src]

impl Copy for CoverageLevel[src]

impl Debug for CoverageLevel[src]

impl Display for CoverageLevel[src]

impl Eq for CoverageLevel[src]

impl<'a> FromValue<'a> for CoverageLevel[src]

impl<'a> FromValueOptional<'a> for CoverageLevel[src]

impl Hash for CoverageLevel[src]

impl Ord for CoverageLevel[src]

impl PartialEq<CoverageLevel> for CoverageLevel[src]

impl PartialOrd<CoverageLevel> for CoverageLevel[src]

impl SetValue for CoverageLevel[src]

impl StaticType for CoverageLevel[src]

impl StructuralEq for CoverageLevel[src]

impl StructuralPartialEq for CoverageLevel[src]

Auto Trait Implementations

impl RefUnwindSafe for CoverageLevel

impl Send for CoverageLevel

impl Sync for CoverageLevel

impl Unpin for CoverageLevel

impl UnwindSafe for CoverageLevel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.