pub struct BytecodeInstruction { /* private fields */ }Implementations§
Source§impl BytecodeInstruction
impl BytecodeInstruction
pub fn pc(&self) -> InstructionPc
pub fn opcode(&self) -> Opcode
pub fn line(&self) -> u32
pub fn block(&self) -> BytecodeBlockId
pub fn operands(&self) -> &[BytecodeOperand]
pub fn users(&self) -> &[BytecodeOperand]
Trait Implementations§
Source§impl Clone for BytecodeInstruction
impl Clone for BytecodeInstruction
Source§fn clone(&self) -> BytecodeInstruction
fn clone(&self) -> BytecodeInstruction
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 BytecodeInstruction
impl Debug for BytecodeInstruction
impl Eq for BytecodeInstruction
Source§impl PartialEq for BytecodeInstruction
impl PartialEq for BytecodeInstruction
impl StructuralPartialEq for BytecodeInstruction
Auto Trait Implementations§
impl Freeze for BytecodeInstruction
impl RefUnwindSafe for BytecodeInstruction
impl Send for BytecodeInstruction
impl Sync for BytecodeInstruction
impl Unpin for BytecodeInstruction
impl UnsafeUnpin for BytecodeInstruction
impl UnwindSafe for BytecodeInstruction
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