pub struct DecodedCode {
pub instructions: Vec<LocatedInstruction>,
pub offsets: BTreeMap<u32, InstructionId>,
}Expand description
A decoded code array and its exact first-byte lookup map.
Fields§
§instructions: Vec<LocatedInstruction>Instructions in bytecode order.
offsets: BTreeMap<u32, InstructionId>Map from every instruction’s first byte offset to its stable identity.
Trait Implementations§
Source§impl Clone for DecodedCode
impl Clone for DecodedCode
Source§fn clone(&self) -> DecodedCode
fn clone(&self) -> DecodedCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecodedCode
impl Debug for DecodedCode
impl Eq for DecodedCode
Source§impl PartialEq for DecodedCode
impl PartialEq for DecodedCode
impl StructuralPartialEq for DecodedCode
Auto Trait Implementations§
impl Freeze for DecodedCode
impl RefUnwindSafe for DecodedCode
impl Send for DecodedCode
impl Sync for DecodedCode
impl Unpin for DecodedCode
impl UnsafeUnpin for DecodedCode
impl UnwindSafe for DecodedCode
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