Struct bigml::ProgressOptions
source · pub struct ProgressOptions<'a, T: 'static> { /* private fields */ }
Expand description
Options specifying how to report progress.
Implementations§
source§impl<'a, T: 'static> ProgressOptions<'a, T>
impl<'a, T: 'static> ProgressOptions<'a, T>
sourcepub fn callback(self, callback: &'a mut ProgressCallback<'a, T>) -> Self
pub fn callback(self, callback: &'a mut ProgressCallback<'a, T>) -> Self
Specify a callback to be called whenever we see a new T
value.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for ProgressOptions<'a, T>
impl<'a, T> Send for ProgressOptions<'a, T>
impl<'a, T> Sync for ProgressOptions<'a, T>
impl<'a, T> Unpin for ProgressOptions<'a, T>
impl<'a, T> !UnwindSafe for ProgressOptions<'a, T>
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