pub struct CollectionIndex<K, V, T, R>where
K: ExchangeData,
V: ExchangeData,
T: Lattice + ExchangeData + Timestamp,
R: Monoid + Multiply<Output = R> + ExchangeData,{ /* private fields */ }
Implementations§
Source§impl<K, V, T, R> CollectionIndex<K, V, T, R>where
K: ExchangeData + Hash,
V: ExchangeData + Hash,
T: Lattice + ExchangeData + Timestamp,
R: Monoid + Multiply<Output = R> + ExchangeData,
impl<K, V, T, R> CollectionIndex<K, V, T, R>where
K: ExchangeData + Hash,
V: ExchangeData + Hash,
T: Lattice + ExchangeData + Timestamp,
R: Monoid + Multiply<Output = R> + ExchangeData,
pub fn index<G: Scope<Timestamp = T>>( collection: &Collection<G, (K, V), R>, ) -> Self
pub fn extend_using<P, F: Fn(&P) -> K + Clone>( &self, logic: F, ) -> CollectionExtender<K, V, T, R, P, F>
Trait Implementations§
Source§impl<K, V, T, R> Clone for CollectionIndex<K, V, T, R>where
K: ExchangeData + Hash,
V: ExchangeData + Hash,
T: Lattice + ExchangeData + Timestamp,
R: Monoid + Multiply<Output = R> + ExchangeData,
impl<K, V, T, R> Clone for CollectionIndex<K, V, T, R>where
K: ExchangeData + Hash,
V: ExchangeData + Hash,
T: Lattice + ExchangeData + Timestamp,
R: Monoid + Multiply<Output = R> + ExchangeData,
Auto Trait Implementations§
impl<K, V, T, R> Freeze for CollectionIndex<K, V, T, R>where
T: Freeze,
impl<K, V, T, R> !RefUnwindSafe for CollectionIndex<K, V, T, R>
impl<K, V, T, R> !Send for CollectionIndex<K, V, T, R>
impl<K, V, T, R> !Sync for CollectionIndex<K, V, T, R>
impl<K, V, T, R> Unpin for CollectionIndex<K, V, T, R>where
T: Unpin,
impl<K, V, T, R> !UnwindSafe for CollectionIndex<K, V, T, R>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.