Struct datafrog::ExtendAnti
source · pub struct ExtendAnti<'leap, Key, Val, Tuple, Func>where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> Key,{ /* private fields */ }
Expand description
Wraps a Relation
Implementations§
source§impl<'leap, Key, Val, Tuple, Func> ExtendAnti<'leap, Key, Val, Tuple, Func>where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> Key,
impl<'leap, Key, Val, Tuple, Func> ExtendAnti<'leap, Key, Val, Tuple, Func>where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> Key,
sourcepub fn from(relation: &'leap Relation<(Key, Val)>, key_func: Func) -> Self
pub fn from(relation: &'leap Relation<(Key, Val)>, key_func: Func) -> Self
Constructs a ExtendAnti from a relation and key and value function.