Struct dsalgo::sparse_table::SparseTable
source · [−]pub struct SparseTable<G: Semigroup<Id>, Id> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<G, Id> FromIterator<<G as Magma<Id>>::S> for SparseTable<G, Id> where
G: Semigroup<Id> + Idempotence<Id> + CommutativeProperty<Id>,
G::S: Clone,
impl<G, Id> FromIterator<<G as Magma<Id>>::S> for SparseTable<G, Id> where
G: Semigroup<Id> + Idempotence<Id> + CommutativeProperty<Id>,
G::S: Clone,
sourcefn from_iter<T: IntoIterator<Item = G::S>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = G::S>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl<G, Id> RangeGetQuery<<G as Magma<Id>>::S, Id> for SparseTable<G, Id> where
G: Semigroup<Id> + Idempotence<Id> + CommutativeProperty<Id>,
G::S: Clone,
impl<G, Id> RangeGetQuery<<G as Magma<Id>>::S, Id> for SparseTable<G, Id> where
G: Semigroup<Id> + Idempotence<Id> + CommutativeProperty<Id>,
G::S: Clone,
Auto Trait Implementations
impl<G, Id> RefUnwindSafe for SparseTable<G, Id> where
<G as Magma<Id>>::S: RefUnwindSafe,
impl<G, Id> Send for SparseTable<G, Id> where
<G as Magma<Id>>::S: Send,
impl<G, Id> Sync for SparseTable<G, Id> where
<G as Magma<Id>>::S: Sync,
impl<G, Id> Unpin for SparseTable<G, Id> where
<G as Magma<Id>>::S: Unpin,
impl<G, Id> UnwindSafe for SparseTable<G, Id> where
<G as Magma<Id>>::S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more