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>
Source§fn generate(
&mut self,
length: RowCount,
rng: &mut Xoshiro256PlusPlus,
) -> Result<Arc<dyn Array>, ArrowError>
fn generate( &mut self, length: RowCount, rng: &mut Xoshiro256PlusPlus, ) -> Result<Arc<dyn Array>, ArrowError>
Generate an array of the given length Read more
Source§fn data_type(&self) -> &DataType
fn data_type(&self) -> &DataType
Get the data type of the array that this generator produces Read more
Auto Trait Implementations§
impl<T, ArrayType, F> Freeze for FnGen<T, ArrayType, F>
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