pub struct HeuristicFn<F>(/* private fields */);Expand description
A closure used as a Heuristic; created by heuristic_fn.
Trait Implementations§
Source§impl<F> Clone for HeuristicFn<F>where
F: Clone,
impl<F> Clone for HeuristicFn<F>where
F: Clone,
Source§fn clone(&self) -> HeuristicFn<F>
fn clone(&self) -> HeuristicFn<F>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<F> Copy for HeuristicFn<F>where
F: Copy,
Source§impl<F> Debug for HeuristicFn<F>where
F: Debug,
impl<F> Debug for HeuristicFn<F>where
F: Debug,
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