Struct lance_datagen::generator::FnGen
source · pub struct FnGen<T, ArrayType, F: FnMut(&mut Xoshiro256PlusPlus) -> T>{ /* private fields */ }Trait Implementations§
source§impl<T, ArrayType, F> ArrayGenerator for FnGen<T, ArrayType, F>
impl<T, ArrayType, F> ArrayGenerator for FnGen<T, ArrayType, F>
Auto Trait Implementations§
impl<T, ArrayType, F> RefUnwindSafe for FnGen<T, ArrayType, F>
impl<T, ArrayType, F> Send for FnGen<T, ArrayType, F>
impl<T, ArrayType, F> Sync for FnGen<T, ArrayType, F>
impl<T, ArrayType, F> Unpin for FnGen<T, ArrayType, F>
impl<T, ArrayType, F> UnwindSafe for FnGen<T, ArrayType, F>
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