pub struct DecodedBindRules {
pub symbol_table: HashMap<u32, String>,
pub instructions: Vec<u8>,
pub decoded_instructions: Vec<DecodedInstruction>,
pub debug_info: Option<DecodedDebugInfo>,
}Fields§
§symbol_table: HashMap<u32, String>§instructions: Vec<u8>§decoded_instructions: Vec<DecodedInstruction>§debug_info: Option<DecodedDebugInfo>Implementations§
Source§impl DecodedBindRules
impl DecodedBindRules
pub fn new( symbol_table: HashMap<u32, String>, inst_bytecode: Vec<u8>, debug_info: Option<DecodedDebugInfo>, ) -> Result<Self, BytecodeError>
pub fn from_bytecode(bytecode: Vec<u8>) -> Result<Self, BytecodeError>
Trait Implementations§
Source§impl Clone for DecodedBindRules
impl Clone for DecodedBindRules
Source§fn clone(&self) -> DecodedBindRules
fn clone(&self) -> DecodedBindRules
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 DecodedBindRules
impl Debug for DecodedBindRules
Source§impl<'de> Deserialize<'de> for DecodedBindRules
impl<'de> Deserialize<'de> for DecodedBindRules
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DecodedBindRules
impl PartialEq for DecodedBindRules
Source§impl Serialize for DecodedBindRules
impl Serialize for DecodedBindRules
impl StructuralPartialEq for DecodedBindRules
Auto Trait Implementations§
impl Freeze for DecodedBindRules
impl RefUnwindSafe for DecodedBindRules
impl Send for DecodedBindRules
impl Sync for DecodedBindRules
impl Unpin for DecodedBindRules
impl UnwindSafe for DecodedBindRules
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