[][src]Struct printpdf::types::plugins::graphics::two_dimensional::font::ExternalFont

pub struct ExternalFont { /* fields omitted */ }

Methods

impl ExternalFont[src]

pub fn new<R>(font_stream: R, font_index: usize) -> Result<Self, Error> where
    R: Read
[src]

Creates a new font. The index is used for naming / identifying the font

Trait Implementations

impl Clone for ExternalFont[src]

impl Debug for ExternalFont[src]

impl PartialEq<ExternalFont> for ExternalFont[src]

fn eq(&self, other: &ExternalFont) -> bool[src]

Two fonts are equal if their names are equal, the contents aren't checked

Auto Trait Implementations

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> SetParameter for T

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.