pub struct BTreeMapStorage<K: Ord + OutputType> { /* private fields */ }Trait Implementations§
Source§impl<K: Clone + Ord + OutputType> Clone for BTreeMapStorage<K>
impl<K: Clone + Ord + OutputType> Clone for BTreeMapStorage<K>
Source§fn clone(&self) -> BTreeMapStorage<K>
fn clone(&self) -> BTreeMapStorage<K>
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 moreSource§impl<K: Ord + OutputType> Default for BTreeMapStorage<K>
impl<K: Ord + OutputType> Default for BTreeMapStorage<K>
Source§impl<'de, K> Deserialize<'de> for BTreeMapStorage<K>
impl<'de, K> Deserialize<'de> for BTreeMapStorage<K>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<K> Serialize for BTreeMapStorage<K>
impl<K> Serialize for BTreeMapStorage<K>
Source§impl<K> StorageFor<K> for BTreeMapStorage<K>
impl<K> StorageFor<K> for BTreeMapStorage<K>
Source§fn get_cell_for_computation(&self, key: &K) -> Option<Cell>
fn get_cell_for_computation(&self, key: &K) -> Option<Cell>
Given a computation key, return the cell associated with it, if it exists.
Source§fn insert_new_cell(&mut self, cell: Cell, key: K)
fn insert_new_cell(&mut self, cell: Cell, key: K)
Insert a new Cell with the given computation that has yet to be run
Source§fn get_input(&self, cell: Cell) -> &K
fn get_input(&self, cell: Cell) -> &K
Retrieve the input for this computation.
The input is expected to already be inserted into this storage.
Auto Trait Implementations§
impl<K> Freeze for BTreeMapStorage<K>
impl<K> RefUnwindSafe for BTreeMapStorage<K>
impl<K> Send for BTreeMapStorage<K>
impl<K> Sync for BTreeMapStorage<K>
impl<K> Unpin for BTreeMapStorage<K>
impl<K> UnwindSafe for BTreeMapStorage<K>
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