Enum allsorts_no_std::cff::Charset[][src]

pub enum Charset<'a> {
    ISOAdobe,
    Expert,
    ExpertSubset,
    Custom(CustomCharset<'a>),
}

Variants

ISOAdobe
Expert
ExpertSubset
Custom(CustomCharset<'a>)

Implementations

impl<'a> Charset<'a>[src]

pub fn id_for_glyph(&self, glyph_id: u16) -> Option<u16>[src]

Returns the id of the SID (Type 1 font) or CID (CID keyed font) of the name of the supplied glyph

Trait Implementations

impl<'a> Clone for Charset<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Charset<'a>

impl<'a> Send for Charset<'a>

impl<'a> Sync for Charset<'a>

impl<'a> Unpin for Charset<'a>

impl<'a> UnwindSafe for Charset<'a>

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, 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.