Struct zksync_vm2::addressing_modes::Register1
source · pub struct Register1(pub Register);
Expand description
Register passed as a first instruction argument.
It must not be used simultaneously with AbsoluteStack
, RelativeStack
, AdvanceStackPointer
,
or CodePage
.
Tuple Fields§
§0: Register
Trait Implementations§
source§impl From<Register1> for AnyDestination
impl From<Register1> for AnyDestination
source§fn from(v: Register1) -> AnyDestination
fn from(v: Register1) -> AnyDestination
Converts to this type from the input type.
source§impl From<Register1> for RegisterOrImmediate
impl From<Register1> for RegisterOrImmediate
source§fn from(v: Register1) -> RegisterOrImmediate
fn from(v: Register1) -> RegisterOrImmediate
Converts to this type from the input type.
source§impl TryInto<Register1> for AnyDestination
impl TryInto<Register1> for AnyDestination
source§impl TryInto<Register1> for RegisterOrImmediate
impl TryInto<Register1> for RegisterOrImmediate
impl Copy for Register1
Auto Trait Implementations§
impl Freeze for Register1
impl RefUnwindSafe for Register1
impl Send for Register1
impl Sync for Register1
impl Unpin for Register1
impl UnwindSafe for Register1
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
)