[−][src]Trait geen::StorageExt
Associated Types
type Value
Required methods
fn truncate(&mut self, _len: usize) -> Result<(), GeneError>
Shortens the array, keeping the first len elements and dropping the rest.
fn shift(&mut self, n: usize) -> Result<(), GeneError>
Shift the array, by discarding the first n elements from the front.
fn for_each<F>(&self, f: F) -> Result<(), GeneError> where
F: FnMut(Result<Self::Value, GeneError>),
F: FnMut(Result<Self::Value, GeneError>),
Execute the given closure for each value in the array
Implementations on Foreign Types
impl<T: Clone> StorageExt for Vec<T>
[src]
type Value = T
fn truncate(&mut self, len: usize) -> Result<(), GeneError>
[src]
fn shift(&mut self, n: usize) -> Result<(), GeneError>
[src]
fn for_each<F>(&self, f: F) -> Result<(), GeneError> where
F: FnMut(Result<Self::Value, GeneError>),
[src]
F: FnMut(Result<Self::Value, GeneError>),