Struct datafrog::FilterAnti
source · pub struct FilterAnti<'leap, Key, Val, Tuple, Func>where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),{ /* private fields */ }
Expand description
Wraps a Relation
Implementations§
source§impl<'leap, Key, Val, Tuple, Func> FilterAnti<'leap, Key, Val, Tuple, Func>where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
impl<'leap, Key, Val, Tuple, Func> FilterAnti<'leap, Key, Val, Tuple, Func>where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
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 FilterAnti from a relation and key and value function.