pub struct Accumulator<Item> { /* private fields */ }Trait Implementations§
Source§impl<Item: Clone> Accumulate<Item> for Accumulator<Item>
impl<Item: Clone> Accumulate<Item> for Accumulator<Item>
Source§fn accumulate(&self, cell: Cell, item: Item)
fn accumulate(&self, cell: Cell, item: Item)
Push an item to the context of the given cell
Source§fn get_accumulated<Items>(&self, cells: &[Cell]) -> Itemswhere
Items: FromIterator<Item>,
fn get_accumulated<Items>(&self, cells: &[Cell]) -> Itemswhere
Items: FromIterator<Item>,
Retrieve all items associated with the given cells
Source§impl<T> Default for Accumulator<T>
impl<T> Default for Accumulator<T>
Source§impl<'de, Item: Deserialize<'de>> Deserialize<'de> for Accumulator<Item>
impl<'de, Item: Deserialize<'de>> Deserialize<'de> for Accumulator<Item>
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
Auto Trait Implementations§
impl<Item> Freeze for Accumulator<Item>
impl<Item> !RefUnwindSafe for Accumulator<Item>
impl<Item> Send for Accumulator<Item>where
Item: Send,
impl<Item> Sync for Accumulator<Item>
impl<Item> Unpin for Accumulator<Item>
impl<Item> UnwindSafe for Accumulator<Item>where
Item: 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