pub struct BranchInstruction {
pub branch_using: BranchUsing,
pub side: bool,
pub nop_count: u8,
/* private fields */
}Fields§
§branch_using: BranchUsing§side: bool§nop_count: u8Implementations§
Source§impl BranchInstruction
impl BranchInstruction
pub fn calculate_displacement_address(&self) -> Result<u32>
Trait Implementations§
Source§impl C6000Instruction for BranchInstruction
impl C6000Instruction for BranchInstruction
fn new(input: &InstructionInput) -> Result<Self>
fn new_compact(input: &InstructionInput) -> Result<Self>
fn instruction_clean(&self) -> String
fn instruction(&self) -> String
fn operands(&self) -> String
fn instruction_data(&self) -> &InstructionData
fn instruction_data_mut(&mut self) -> &mut InstructionData
fn opcode(&self) -> u32
fn is_compact(&self) -> bool
fn is_parallel(&self) -> bool
fn get_p_bit(&self) -> bool
fn set_parallel(&mut self, parallel: bool)
fn conditional_operation(&self) -> Option<ConditionalOperation>
Auto Trait Implementations§
impl Freeze for BranchInstruction
impl RefUnwindSafe for BranchInstruction
impl Send for BranchInstruction
impl Sync for BranchInstruction
impl Unpin for BranchInstruction
impl UnsafeUnpin for BranchInstruction
impl UnwindSafe for BranchInstruction
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