pub struct MemPreserverInitialState {
pub stack: Vec<BFieldElement>,
pub nondeterminism: NonDeterminism,
pub public_input: VecDeque<BFieldElement>,
pub sponge_state: Option<Tip5>,
}
Fields§
§stack: Vec<BFieldElement>
§nondeterminism: NonDeterminism
§public_input: VecDeque<BFieldElement>
§sponge_state: Option<Tip5>
Trait Implementations§
Source§impl Clone for MemPreserverInitialState
impl Clone for MemPreserverInitialState
Source§fn clone(&self) -> MemPreserverInitialState
fn clone(&self) -> MemPreserverInitialState
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 MemPreserverInitialState
impl Debug for MemPreserverInitialState
Source§impl Default for MemPreserverInitialState
impl Default for MemPreserverInitialState
Source§fn default() -> MemPreserverInitialState
fn default() -> MemPreserverInitialState
Returns the “default value” for a type. Read more
Source§impl From<MemPreserverInitialState> for InitVmState
impl From<MemPreserverInitialState> for InitVmState
Source§fn from(value: MemPreserverInitialState) -> Self
fn from(value: MemPreserverInitialState) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemPreserverInitialState
impl RefUnwindSafe for MemPreserverInitialState
impl Send for MemPreserverInitialState
impl Sync for MemPreserverInitialState
impl Unpin for MemPreserverInitialState
impl UnwindSafe for MemPreserverInitialState
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more