Struct read_fonts::tables::glyf::bytecode::Instruction
source · pub struct Instruction<'a> {
pub opcode: Opcode,
pub inline_operands: InlineOperands<'a>,
pub pc: usize,
}
Expand description
Decoded TrueType instruction.
Fields§
§opcode: Opcode
Operation code.
inline_operands: InlineOperands<'a>
Instruction operands that were decoded from the bytecode.
pc: usize
Program counter – offset into the bytecode where this instruction was decoded.
Trait Implementations§
source§impl<'a> Clone for Instruction<'a>
impl<'a> Clone for Instruction<'a>
source§fn clone(&self) -> Instruction<'a>
fn clone(&self) -> Instruction<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for Instruction<'a>
impl<'a> Debug for Instruction<'a>
source§impl Display for Instruction<'_>
impl Display for Instruction<'_>
impl<'a> Copy for Instruction<'a>
Auto Trait Implementations§
impl<'a> Freeze for Instruction<'a>
impl<'a> RefUnwindSafe for Instruction<'a>
impl<'a> Send for Instruction<'a>
impl<'a> Sync for Instruction<'a>
impl<'a> Unpin for Instruction<'a>
impl<'a> UnwindSafe for Instruction<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)