pub struct Pc;Expand description
Get the value of the program counter prior to the increment corresponding to this instruction.
Trait Implementations§
Source§impl Instruction for Pc
impl Instruction for Pc
Source§fn is_push(&self) -> bool
fn is_push(&self) -> bool
Returns a value signifying whether this instruction is of the type
PUSHx. Read moreSource§fn is_dup(&self) -> bool
fn is_dup(&self) -> bool
Returns a value signifying whether this instruction is of the type
DUPx. Read moreSource§fn is_swap(&self) -> bool
fn is_swap(&self) -> bool
Returns a value signifying whether this instruction is of the type
SWAPx. Read moreimpl Copy for Pc
impl Eq for Pc
impl StructuralPartialEq for Pc
Auto Trait Implementations§
impl Freeze for Pc
impl RefUnwindSafe for Pc
impl Send for Pc
impl Sync for Pc
impl Unpin for Pc
impl UnwindSafe for Pc
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