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)>;
}
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.