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>
impl<N, V> ArbitraryChunk<N, V>
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>
impl<N, V> Sync for ArbitraryChunk<N, V>
impl<N, V> Unpin for ArbitraryChunk<N, V>
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