Struct guppy::graph::feature::FeatureFilterFn[][src]

pub struct FeatureFilterFn<F>(_);

A FeatureFilter which calls the function that's passed in.

Implementations

impl<'g, F> FeatureFilterFn<F> where
    F: FnMut(&FeatureGraph<'g>, FeatureId<'g>) -> bool
[src]

pub fn new(f: F) -> Self[src]

Returns a new instance of this wrapper.

Trait Implementations

impl<F: Clone> Clone for FeatureFilterFn<F>[src]

impl<F: Debug> Debug for FeatureFilterFn<F>[src]

impl<'g, F> FeatureFilter<'g> for FeatureFilterFn<F> where
    F: FnMut(&FeatureGraph<'g>, FeatureId<'g>) -> bool
[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for FeatureFilterFn<F> where
    F: RefUnwindSafe
[src]

impl<F> Send for FeatureFilterFn<F> where
    F: Send
[src]

impl<F> Sync for FeatureFilterFn<F> where
    F: Sync
[src]

impl<F> Unpin for FeatureFilterFn<F> where
    F: Unpin
[src]

impl<F> UnwindSafe for FeatureFilterFn<F> where
    F: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,