Trait differential_dataflow::trace::implementations::Layout
source · pub trait Layout {
type Target: Update + ?Sized;
type KeyContainer: BatchContainer<PushItem = <Self::Target as Update>::Key>;
type ValContainer: BatchContainer<PushItem = <Self::Target as Update>::Val>;
type UpdContainer: for<'a> BatchContainer<PushItem = (<Self::Target as Update>::Time, <Self::Target as Update>::Diff), ReadItem<'a> = &'a (<Self::Target as Update>::Time, <Self::Target as Update>::Diff)>;
type OffsetContainer: BatchContainer<PushItem = usize>;
}
Expand description
A type with opinions on how updates should be laid out.
Required Associated Types§
sourcetype KeyContainer: BatchContainer<PushItem = <Self::Target as Update>::Key>
type KeyContainer: BatchContainer<PushItem = <Self::Target as Update>::Key>
Container for update keys.
sourcetype ValContainer: BatchContainer<PushItem = <Self::Target as Update>::Val>
type ValContainer: BatchContainer<PushItem = <Self::Target as Update>::Val>
Container for update vals.
sourcetype UpdContainer: for<'a> BatchContainer<PushItem = (<Self::Target as Update>::Time, <Self::Target as Update>::Diff), ReadItem<'a> = &'a (<Self::Target as Update>::Time, <Self::Target as Update>::Diff)>
type UpdContainer: for<'a> BatchContainer<PushItem = (<Self::Target as Update>::Time, <Self::Target as Update>::Diff), ReadItem<'a> = &'a (<Self::Target as Update>::Time, <Self::Target as Update>::Diff)>
Container for update vals.
sourcetype OffsetContainer: BatchContainer<PushItem = usize>
type OffsetContainer: BatchContainer<PushItem = usize>
Container for offsets.