pub struct ContextState {
pub name: String,
pub data: Vec<u64>,
}
Expand description
Structure to store and restore BlockContext state
Fields§
§name: String
Field used to determine state enum name
data: Vec<u64>
State data
Trait Implementations§
Source§impl Clone for ContextState
impl Clone for ContextState
Source§fn clone(&self) -> ContextState
fn clone(&self) -> ContextState
Returns a duplicate 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 Freeze for ContextState
impl RefUnwindSafe for ContextState
impl Send for ContextState
impl Sync for ContextState
impl Unpin for ContextState
impl UnwindSafe for ContextState
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