pub struct FnSampler<F> { /* private fields */ }Expand description
Adapts an epoch-aware iterator factory into a reusable Sampler.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> Forget for FnSampler<F>
impl<F> Freeze for FnSampler<F>where
F: Freeze,
impl<F> RefUnwindSafe for FnSampler<F>where
F: RefUnwindSafe,
impl<F> Send for FnSampler<F>where
F: Send,
impl<F> Sync for FnSampler<F>where
F: Sync,
impl<F> Unpin for FnSampler<F>where
F: Unpin,
impl<F> UnsafeUnpin for FnSampler<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FnSampler<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