Struct zksync_vm2::addressing_modes::AdvanceStackPointer  
source · pub struct AdvanceStackPointer(pub RegisterAndImmediate);Expand description
Same as RelativeStack, but moves the stack pointer on access (decreases it when reading data;
increases when writing data).
Tuple Fields§
§0: RegisterAndImmediateTrait Implementations§
source§impl Clone for AdvanceStackPointer
 
impl Clone for AdvanceStackPointer
source§fn clone(&self) -> AdvanceStackPointer
 
fn clone(&self) -> AdvanceStackPointer
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 AdvanceStackPointer
 
impl Debug for AdvanceStackPointer
source§impl From<AdvanceStackPointer> for AnyDestination
 
impl From<AdvanceStackPointer> for AnyDestination
source§fn from(v: AdvanceStackPointer) -> AnyDestination
 
fn from(v: AdvanceStackPointer) -> AnyDestination
Converts to this type from the input type.
source§impl From<AdvanceStackPointer> for AnySource
 
impl From<AdvanceStackPointer> for AnySource
source§fn from(v: AdvanceStackPointer) -> AnySource
 
fn from(v: AdvanceStackPointer) -> AnySource
Converts to this type from the input type.
source§impl TryInto<AdvanceStackPointer> for AnyDestination
 
impl TryInto<AdvanceStackPointer> for AnyDestination
source§impl TryInto<AdvanceStackPointer> for AnySource
 
impl TryInto<AdvanceStackPointer> for AnySource
impl Copy for AdvanceStackPointer
Auto Trait Implementations§
impl Freeze for AdvanceStackPointer
impl RefUnwindSafe for AdvanceStackPointer
impl Send for AdvanceStackPointer
impl Sync for AdvanceStackPointer
impl Unpin for AdvanceStackPointer
impl UnwindSafe for AdvanceStackPointer
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)