Struct truetype::postscript::PostScript2
source · pub struct PostScript2 {
pub version: q32,
pub italic_angle: q32,
pub underline_position: i16,
pub underline_thickness: i16,
pub is_fixed_pitch: u32,
pub min_memory_type42: u32,
pub max_memory_type42: u32,
pub min_memory_type1: u32,
pub max_memory_type1: u32,
pub glyph_count: u16,
pub glyph_name_indices: Vec<u16>,
pub glyph_names: Vec<String>,
}
Expand description
PostScript information of version 2.
Fields
version: q32
italic_angle: q32
underline_position: i16
underline_thickness: i16
is_fixed_pitch: u32
min_memory_type42: u32
max_memory_type42: u32
min_memory_type1: u32
max_memory_type1: u32
glyph_count: u16
glyph_name_indices: Vec<u16>
glyph_names: Vec<String>
Trait Implementations
sourceimpl Clone for PostScript2
impl Clone for PostScript2
sourcefn clone(&self) -> PostScript2
fn clone(&self) -> PostScript2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PostScript2
impl Debug for PostScript2
sourceimpl Default for PostScript2
impl Default for PostScript2
sourcefn default() -> PostScript2
fn default() -> PostScript2
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PostScript2
impl Send for PostScript2
impl Sync for PostScript2
impl Unpin for PostScript2
impl UnwindSafe for PostScript2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more