pub struct InstructionInfo {
pub length: usize,
pub arch_transition_by_target_addr: bool,
pub delay_slots: u8,
pub branches: [Option<BranchInfo>; 3],
}
Fields§
§length: usize
§arch_transition_by_target_addr: bool
§delay_slots: u8
§branches: [Option<BranchInfo>; 3]
Implementations§
source§impl InstructionInfo
impl InstructionInfo
pub fn new(length: usize, delay_slots: u8) -> Self
pub fn add_branch(&mut self, branch_info: impl Into<BranchInfo>)
Trait Implementations§
source§impl Clone for InstructionInfo
impl Clone for InstructionInfo
source§fn clone(&self) -> InstructionInfo
fn clone(&self) -> InstructionInfo
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 Debug for InstructionInfo
impl Debug for InstructionInfo
source§impl From<BNInstructionInfo> for InstructionInfo
impl From<BNInstructionInfo> for InstructionInfo
source§fn from(value: BNInstructionInfo) -> Self
fn from(value: BNInstructionInfo) -> Self
Converts to this type from the input type.
source§impl From<InstructionInfo> for BNInstructionInfo
impl From<InstructionInfo> for BNInstructionInfo
source§fn from(value: InstructionInfo) -> Self
fn from(value: InstructionInfo) -> Self
Converts to this type from the input type.
source§impl Hash for InstructionInfo
impl Hash for InstructionInfo
source§impl PartialEq for InstructionInfo
impl PartialEq for InstructionInfo
impl Copy for InstructionInfo
impl Eq for InstructionInfo
impl StructuralPartialEq for InstructionInfo
Auto Trait Implementations§
impl Freeze for InstructionInfo
impl RefUnwindSafe for InstructionInfo
impl Send for InstructionInfo
impl Sync for InstructionInfo
impl Unpin for InstructionInfo
impl UnwindSafe for InstructionInfo
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