pub struct GraphClassifier<Extra, V> {
pub classify: Box<dyn Fn(&Pattern<V>) -> GraphClass<Extra> + 'static>,
}Expand description
Injectable classification strategy wrapping a boxed closure.
Fields§
§classify: Box<dyn Fn(&Pattern<V>) -> GraphClass<Extra> + 'static>Implementations§
Source§impl<Extra, V> GraphClassifier<Extra, V>
impl<Extra, V> GraphClassifier<Extra, V>
Auto Trait Implementations§
impl<Extra, V> Freeze for GraphClassifier<Extra, V>
impl<Extra, V> !RefUnwindSafe for GraphClassifier<Extra, V>
impl<Extra, V> !Send for GraphClassifier<Extra, V>
impl<Extra, V> !Sync for GraphClassifier<Extra, V>
impl<Extra, V> Unpin for GraphClassifier<Extra, V>
impl<Extra, V> UnsafeUnpin for GraphClassifier<Extra, V>
impl<Extra, V> !UnwindSafe for GraphClassifier<Extra, V>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more