Trait Annotation
Other items inmicrokelvin
pub trait Annotation<Leaf>: Default + Canon + Combine<Self> { fn from_leaf(leaf: &Leaf) -> Self; }
The trait defining an annotation type over a leaf
fn from_leaf(leaf: &Leaf) -> Self
Creates an annotation from the leaf type
impl<L> Annotation<L> for ()
fn from_leaf(_: &L) -> Self
impl<K, L> Annotation<L> for MaxKey<K> where L: Keyed<K>, K: Clone + Ord + Canon,
impl<L> Annotation<L> for Cardinality