Struct sample_arrow2::chunk::ArbitraryChunk
source · pub struct ArbitraryChunk<N, V> {
pub chunk_len: Range<usize>,
pub array_count: Range<usize>,
pub data_type: DataTypeSampler,
pub array: ArbitraryArray<N, V>,
}
Fields§
§chunk_len: Range<usize>
§array_count: Range<usize>
§data_type: DataTypeSampler
§array: ArbitraryArray<N, V>
Implementations§
source§impl<N, V> ArbitraryChunk<N, V>where
N: Sample<Output = String> + Send + Sync + Clone + 'static,
V: Sample<Output = bool> + Send + Sync + Clone + 'static,
impl<N, V> ArbitraryChunk<N, V>where N: Sample<Output = String> + Send + Sync + Clone + 'static, V: Sample<Output = bool> + Send + Sync + Clone + 'static,
pub fn sample_one(self) -> ChunkSampler
pub fn sample_many(self, chunk_count: Range<usize>) -> MultiChunkSampler
pub fn from_seed( array: &ArbitraryArray<N, V>, seed: (Vec<DataType>, usize) ) -> Box<dyn Sample<Output = Chunk<Box<dyn Array>>> + Send + Sync>
Auto Trait Implementations§
impl<N, V> !RefUnwindSafe for ArbitraryChunk<N, V>
impl<N, V> Send for ArbitraryChunk<N, V>where N: Send, V: Send,
impl<N, V> Sync for ArbitraryChunk<N, V>where N: Sync, V: Sync,
impl<N, V> Unpin for ArbitraryChunk<N, V>where N: Unpin, V: Unpin,
impl<N, V> !UnwindSafe for ArbitraryChunk<N, V>
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