[][src]Struct dvi::FontDef

pub struct FontDef {
    pub number: u32,
    pub checksum: u32,
    pub scale_factor: u32,
    pub design_size: u32,
    pub directory: Option<Vec<u8>>,
    pub filename: Vec<u8>,
}

A font definition

Fields

number: u32

The font number of this font (only 1 font per number + once in postamble)

checksum: u32

Font checksum

scale_factor: u32

How to scale the font

design_size: u32

How to scale the font

directory: Option<Vec<u8>>

Directory of the font file, default if None

filename: Vec<u8>

Name of the font file

Trait Implementations

impl Clone for FontDef[src]

impl Debug for FontDef[src]

impl Eq for FontDef[src]

impl PartialEq<FontDef> for FontDef[src]

impl StructuralEq for FontDef[src]

impl StructuralPartialEq for FontDef[src]

Auto Trait Implementations

impl RefUnwindSafe for FontDef

impl Send for FontDef

impl Sync for FontDef

impl Unpin for FontDef

impl UnwindSafe for FontDef

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.