pub struct RandomIntervalGenerator { /* private fields */ }
Implementations§
Source§impl RandomIntervalGenerator
impl RandomIntervalGenerator
pub fn new(unit: IntervalUnit) -> Self
Trait Implementations§
Source§impl ArrayGenerator for RandomIntervalGenerator
impl ArrayGenerator for RandomIntervalGenerator
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 Freeze for RandomIntervalGenerator
impl RefUnwindSafe for RandomIntervalGenerator
impl Send for RandomIntervalGenerator
impl Sync for RandomIntervalGenerator
impl Unpin for RandomIntervalGenerator
impl UnwindSafe for RandomIntervalGenerator
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