pub struct MaxpTable {Show 15 fields
pub version: f32,
pub num_glyphs: u16,
pub max_points: Option<u16>,
pub max_contours: Option<u16>,
pub max_composite_points: Option<u16>,
pub max_composite_contours: Option<u16>,
pub max_zones: Option<u16>,
pub max_twilight_points: Option<u16>,
pub max_storage: Option<u16>,
pub max_function_defs: Option<u16>,
pub max_instruction_defs: Option<u16>,
pub max_stack_elements: Option<u16>,
pub max_size_of_instructions: Option<u16>,
pub max_component_elements: Option<u16>,
pub max_component_depth: Option<u16>,
}Expand description
MAXP table - Maximum profile
Fields§
§version: f32§num_glyphs: u16§max_points: Option<u16>§max_contours: Option<u16>§max_composite_points: Option<u16>§max_composite_contours: Option<u16>§max_zones: Option<u16>§max_twilight_points: Option<u16>§max_storage: Option<u16>§max_function_defs: Option<u16>§max_instruction_defs: Option<u16>§max_stack_elements: Option<u16>§max_size_of_instructions: Option<u16>§max_component_elements: Option<u16>§max_component_depth: Option<u16>Implementations§
Source§impl MaxpTable
impl MaxpTable
pub const VERSION_0_5: f32 = 0.5
pub const VERSION_1_0: f32 = 1.0
pub fn is_version_0_5(&self) -> bool
pub fn is_version_1_0(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MaxpTable
impl RefUnwindSafe for MaxpTable
impl Send for MaxpTable
impl Sync for MaxpTable
impl Unpin for MaxpTable
impl UnwindSafe for MaxpTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more