pub struct Tracker<T>where
T: Clone + PartialOrd,{
pub best: Option<T>,
pub current: Option<T>,
pub stagnation: usize,
}Fields§
§best: Option<T>§current: Option<T>§stagnation: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Tracker<T>where
T: Freeze,
impl<T> RefUnwindSafe for Tracker<T>where
T: RefUnwindSafe,
impl<T> Send for Tracker<T>where
T: Send,
impl<T> Sync for Tracker<T>where
T: Sync,
impl<T> Unpin for Tracker<T>where
T: Unpin,
impl<T> UnsafeUnpin for Tracker<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Tracker<T>where
T: 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