#[repr(u8)]pub enum Program {
Font = 0,
ControlValue = 1,
Glyph = 2,
}Expand description
Which of a font’s three programs some bytecode came from.
They differ in more than provenance: only the font program may define functions and instructions, and only a glyph program has a glyph to work on.
Variants§
Font = 0
Initializes the function and instruction tables. Stored in fpgm.
ControlValue = 1
Initializes the control value table and storage area for a size and
other parameters. Stored in prep.
Glyph = 2
Hints one glyph. Stored with the glyph in glyf.
Trait Implementations§
impl Copy for Program
impl Eq for Program
impl StructuralPartialEq for Program
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Program
impl UnwindSafe for Program
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