pub struct State<Memory> {
pub hash: [u8; 32],
pub memory: Memory,
pub state: BTreeMap<Vec<u8>, Vec<u8>>,
}Expand description
Memory frame implementation
Fields§
§hash: [u8; 32]§memory: Memory§state: BTreeMap<Vec<u8>, Vec<u8>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Memory> Freeze for State<Memory>where
Memory: Freeze,
impl<Memory> RefUnwindSafe for State<Memory>where
Memory: RefUnwindSafe,
impl<Memory> Send for State<Memory>where
Memory: Send,
impl<Memory> Sync for State<Memory>where
Memory: Sync,
impl<Memory> Unpin for State<Memory>where
Memory: Unpin,
impl<Memory> UnwindSafe for State<Memory>where
Memory: UnwindSafe,
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