pub struct ProgramBlob { /* private fields */ }Implementations§
Source§impl ProgramBlob
impl ProgramBlob
pub fn new(instructions: Vec<Instruction>) -> Self
pub fn with_jump_table(self, jump_table: Vec<u32>) -> Self
pub fn instructions(&self) -> &[Instruction]
pub fn encode(&self) -> Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for ProgramBlob
impl RefUnwindSafe for ProgramBlob
impl Send for ProgramBlob
impl Sync for ProgramBlob
impl Unpin for ProgramBlob
impl UnsafeUnpin for ProgramBlob
impl UnwindSafe for ProgramBlob
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