#[repr(u8)]pub enum Program {
Font = 0,
ControlValue = 1,
Glyph = 2,
}
Expand description
Describes the source for a piece of bytecode.
Variants§
Font = 0
Program that initializes the function and instruction tables. Stored
in the fpgm
table.
ControlValue = 1
Program that initializes CVT and storage based on font size and other
parameters. Stored in the prep
table.
Glyph = 2
Glyph specified program. Stored per-glyph in the glyf
table.
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 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