Struct dvi::FontDef
[−]
[src]
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 Debug for FontDef
[src]
impl Clone for FontDef
[src]
fn clone(&self) -> FontDef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for FontDef
[src]
fn eq(&self, __arg_0: &FontDef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FontDef) -> bool
This method tests for !=
.