Struct zksync_vm2::addressing_modes::RegisterAndImmediate
source · pub struct RegisterAndImmediate {
pub immediate: u16,
pub register: Register,
}
Expand description
Combination of a register and an immediate value wrapped by AbsoluteStack
, RelativeStack
,
AdvanceStackPointer
and CodePage
addressing modes.
Fields§
§immediate: u16
Immediate value.
register: Register
Register spec.
Trait Implementations§
source§impl Clone for RegisterAndImmediate
impl Clone for RegisterAndImmediate
source§fn clone(&self) -> RegisterAndImmediate
fn clone(&self) -> RegisterAndImmediate
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 RegisterAndImmediate
impl Debug for RegisterAndImmediate
impl Copy for RegisterAndImmediate
Auto Trait Implementations§
impl Freeze for RegisterAndImmediate
impl RefUnwindSafe for RegisterAndImmediate
impl Send for RegisterAndImmediate
impl Sync for RegisterAndImmediate
impl Unpin for RegisterAndImmediate
impl UnwindSafe for RegisterAndImmediate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)