pub struct InstructionPage {
pub is_main: bool,
pub hash: usize,
pub instructions: Vec<Instructions>,
pub locals: Vec<LocalHeader>,
pub debug_headers: Vec<DebugHeader>,
}Fields§
§is_main: bool§hash: usize§instructions: Vec<Instructions>§locals: Vec<LocalHeader>§debug_headers: Vec<DebugHeader>Implementations§
Source§impl InstructionPage
impl InstructionPage
pub fn assign_instruction(&mut self, instruction: Instructions)
pub fn extend_instructions(&mut self, instruction: Vec<Instructions>)
pub fn find_local(&self, name: &String) -> Option<&LocalHeader>
pub fn find_local_by_hash(&self, hash: usize) -> Option<&LocalHeader>
Trait Implementations§
Source§impl Clone for InstructionPage
impl Clone for InstructionPage
Source§fn clone(&self) -> InstructionPage
fn clone(&self) -> InstructionPage
Returns a duplicate 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 Debug for InstructionPage
impl Debug for InstructionPage
Source§impl ExportPage for InstructionPage
impl ExportPage for InstructionPage
Auto Trait Implementations§
impl Freeze for InstructionPage
impl RefUnwindSafe for InstructionPage
impl Send for InstructionPage
impl Sync for InstructionPage
impl Unpin for InstructionPage
impl UnwindSafe for InstructionPage
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