Struct sample_arrow2::array::ArbitraryArray
source · pub struct ArbitraryArray<N, V> {
pub names: N,
pub branch: Range<usize>,
pub len: Range<usize>,
pub null: V,
pub is_nullable: bool,
}
Fields§
§names: N
§branch: Range<usize>
§len: Range<usize>
§null: V
§is_nullable: bool
Implementations§
source§impl<N, V> ArbitraryArray<N, V>where
N: Sample<Output = String> + Send + Sync + Clone + 'static,
V: Sample<Output = bool> + Send + Sync + Clone + 'static,
impl<N, V> ArbitraryArray<N, V>where N: Sample<Output = String> + Send + Sync + Clone + 'static, V: Sample<Output = bool> + Send + Sync + Clone + 'static,
pub fn with_len(&self, len: usize) -> Self
pub fn arbitrary_array( self, data_type_sampler: DataTypeSampler ) -> ChainedArraySampler
pub fn sampler_from_data_type(&self, data_type: &DataType) -> ArraySampler
Trait Implementations§
Auto Trait Implementations§
impl<N, V> RefUnwindSafe for ArbitraryArray<N, V>where N: RefUnwindSafe, V: RefUnwindSafe,
impl<N, V> Send for ArbitraryArray<N, V>where N: Send, V: Send,
impl<N, V> Sync for ArbitraryArray<N, V>where N: Sync, V: Sync,
impl<N, V> Unpin for ArbitraryArray<N, V>where N: Unpin, V: Unpin,
impl<N, V> UnwindSafe for ArbitraryArray<N, V>where N: UnwindSafe, V: 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