pub struct HeuristicFn<F>(/* private fields */);Expand description
A closure used as a Heuristic; created by heuristic_fn.
Trait Implementations§
Source§impl<F: Clone> Clone for HeuristicFn<F>
impl<F: Clone> Clone for HeuristicFn<F>
impl<F: Copy> Copy for HeuristicFn<F>
Source§impl<F: Debug> Debug for HeuristicFn<F>
impl<F: Debug> Debug for HeuristicFn<F>
Auto Trait Implementations§
impl<F> Forget for HeuristicFn<F>
impl<F> Freeze for HeuristicFn<F>where
F: Freeze,
impl<F> Move for HeuristicFn<F>
impl<F> RefUnwindSafe for HeuristicFn<F>where
F: RefUnwindSafe,
impl<F> Send for HeuristicFn<F>where
F: Send,
impl<F> Sync for HeuristicFn<F>where
F: Sync,
impl<F> Unpin for HeuristicFn<F>where
F: Unpin,
impl<F> UnsafeUnpin for HeuristicFn<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for HeuristicFn<F>where
F: UnwindSafe,
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