pub struct Environment {
pub ap_tracking: ApTracking,
pub stack_size: usize,
pub frame_state: FrameState,
pub gas_wallet: GasWallet,
}
Expand description
Part of the program annotations that libfuncs may access as part of their run.
Fields§
§ap_tracking: ApTracking
The ap tracking information of the current statement.
stack_size: usize
The size of the continuous known stack.
frame_state: FrameState
§gas_wallet: GasWallet
Implementations§
Trait Implementations§
source§impl Clone for Environment
impl Clone for Environment
source§fn clone(&self) -> Environment
fn clone(&self) -> Environment
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
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