pub struct EngineEvent<T> { /* private fields */ }Implementations§
Source§impl<T> EngineEvent<T>
impl<T> EngineEvent<T>
pub fn new(inner: EngineEventInner<T>) -> Self
pub fn inner(&self) -> &EngineEventInner<T>
pub fn is_start(&self) -> bool
pub fn is_stop(&self) -> bool
pub fn is_epoch_start(&self) -> bool
pub fn is_epoch_complete(&self) -> bool
pub fn is_improvement(&self) -> bool
Trait Implementations§
Source§impl<T> Clone for EngineEvent<T>
impl<T> Clone for EngineEvent<T>
Auto Trait Implementations§
impl<T> Freeze for EngineEvent<T>
impl<T> RefUnwindSafe for EngineEvent<T>where
T: RefUnwindSafe,
impl<T> Send for EngineEvent<T>
impl<T> Sync for EngineEvent<T>
impl<T> Unpin for EngineEvent<T>
impl<T> UnsafeUnpin for EngineEvent<T>
impl<T> UnwindSafe for EngineEvent<T>where
T: RefUnwindSafe,
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