Struct datafrog::FilterWith [−][src]
Wraps a Relation
Implementations
impl<'leap, Key, Val, Tuple, Func> FilterWith<'leap, Key, Val, Tuple, Func> where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
[src]
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
pub fn from(relation: &'leap Relation<(Key, Val)>, key_func: Func) -> Self
[src]
Constructs a FilterWith from a relation and key and value function.
Trait Implementations
impl<'leap, Key, Val, Val2, Tuple, Func> Leaper<'leap, Tuple, Val2> for FilterWith<'leap, Key, Val, Tuple, Func> where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
[src]
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
fn count(&mut self, prefix: &Tuple) -> usize
[src]
fn propose(&mut self, _prefix: &Tuple, _values: &mut Vec<&'leap Val2>)
[src]
fn intersect(&mut self, _prefix: &Tuple, _values: &mut Vec<&'leap Val2>)
[src]
impl<'leap, Key, Val, Tuple, Func> Leapers<'leap, Tuple, ()> for FilterWith<'leap, Key, Val, Tuple, Func> where
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
[src]
Key: Ord + 'leap,
Val: Ord + 'leap,
Tuple: Ord,
Func: Fn(&Tuple) -> (Key, Val),
Auto Trait Implementations
impl<'leap, Key, Val, Tuple, Func> RefUnwindSafe for FilterWith<'leap, Key, Val, Tuple, Func> where
Func: RefUnwindSafe,
Key: RefUnwindSafe,
Tuple: RefUnwindSafe,
Val: RefUnwindSafe,
Func: RefUnwindSafe,
Key: RefUnwindSafe,
Tuple: RefUnwindSafe,
Val: RefUnwindSafe,
impl<'leap, Key, Val, Tuple, Func> Send for FilterWith<'leap, Key, Val, Tuple, Func> where
Func: Send,
Key: Sync,
Tuple: Send,
Val: Sync,
Func: Send,
Key: Sync,
Tuple: Send,
Val: Sync,
impl<'leap, Key, Val, Tuple, Func> Sync for FilterWith<'leap, Key, Val, Tuple, Func> where
Func: Sync,
Key: Sync,
Tuple: Sync,
Val: Sync,
Func: Sync,
Key: Sync,
Tuple: Sync,
Val: Sync,
impl<'leap, Key, Val, Tuple, Func> Unpin for FilterWith<'leap, Key, Val, Tuple, Func> where
Func: Unpin,
Tuple: Unpin,
Func: Unpin,
Tuple: Unpin,
impl<'leap, Key, Val, Tuple, Func> UnwindSafe for FilterWith<'leap, Key, Val, Tuple, Func> where
Func: UnwindSafe,
Key: RefUnwindSafe,
Tuple: UnwindSafe,
Val: RefUnwindSafe,
Func: UnwindSafe,
Key: RefUnwindSafe,
Tuple: UnwindSafe,
Val: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,