[][src]Struct pdf::font::Font

pub struct Font {
    pub subtype: FontType,
    pub name: String,
    pub data: Result<FontData>,
    // some fields omitted
}

Fields

subtype: FontTypename: Stringdata: Result<FontData>

Implementations

impl Font[src]

pub fn embedded_data(&self) -> Option<Result<&[u8]>>[src]

pub fn is_cid(&self) -> bool[src]

pub fn cid_to_gid_map(&self) -> Option<&[u16]>[src]

pub fn encoding(&self) -> Option<&Encoding>[src]

pub fn info(&self) -> Option<&TFont>[src]

pub fn widths(&self) -> Result<Option<Widths>>[src]

pub fn to_unicode(&self) -> Option<&Stream>[src]

Trait Implementations

impl Debug for Font[src]

impl Object for Font[src]

Auto Trait Implementations

impl !RefUnwindSafe for Font[src]

impl !Send for Font[src]

impl !Sync for Font[src]

impl Unpin for Font[src]

impl !UnwindSafe for Font[src]

Blanket Implementations

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

impl<T> AnyObject for T where
    T: Object + 'static, 
[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> Same<T> for T

type Output = T

Should always be Self

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.