pub struct MetadataGenerator { /* private fields */ }
Trait Implementations§
Source§impl ArrayGenerator for MetadataGenerator
impl ArrayGenerator for MetadataGenerator
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 metadata(&self) -> Option<HashMap<String, String>>
fn metadata(&self) -> Option<HashMap<String, String>>
Gets metadata that should be associated with the field generated by this generator
Auto Trait Implementations§
impl Freeze for MetadataGenerator
impl !RefUnwindSafe for MetadataGenerator
impl Send for MetadataGenerator
impl Sync for MetadataGenerator
impl Unpin for MetadataGenerator
impl !UnwindSafe for MetadataGenerator
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