pub struct FnPbtExecutor<T, E> {
pub train_fn: T,
pub eval_fn: E,
}Expand description
Function-based PBT executor for convenience.
Fields§
§train_fn: T§eval_fn: ETrait Implementations§
Source§impl<T, E> PbtExecutor for FnPbtExecutor<T, E>
impl<T, E> PbtExecutor for FnPbtExecutor<T, E>
Auto Trait Implementations§
impl<T, E> Freeze for FnPbtExecutor<T, E>
impl<T, E> RefUnwindSafe for FnPbtExecutor<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for FnPbtExecutor<T, E>
impl<T, E> Sync for FnPbtExecutor<T, E>
impl<T, E> Unpin for FnPbtExecutor<T, E>
impl<T, E> UnsafeUnpin for FnPbtExecutor<T, E>where
T: UnsafeUnpin,
E: UnsafeUnpin,
impl<T, E> UnwindSafe for FnPbtExecutor<T, E>where
T: UnwindSafe,
E: 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