#[repr(u8)]pub enum GPROrMemory {
GPR {
gpr: GPR,
},
Memory {
memory: Memory,
},
}
Expand description
Represents a GPR or memory operand.
Variants§
Trait Implementations§
Source§impl Clone for GPROrMemory
impl Clone for GPROrMemory
Source§fn clone(&self) -> GPROrMemory
fn clone(&self) -> GPROrMemory
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GPROrMemory
impl Debug for GPROrMemory
Source§impl Hash for GPROrMemory
impl Hash for GPROrMemory
Source§impl PartialEq for GPROrMemory
impl PartialEq for GPROrMemory
impl Eq for GPROrMemory
impl StructuralPartialEq for GPROrMemory
Auto Trait Implementations§
impl Freeze for GPROrMemory
impl RefUnwindSafe for GPROrMemory
impl Send for GPROrMemory
impl Sync for GPROrMemory
impl Unpin for GPROrMemory
impl UnwindSafe for GPROrMemory
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