Struct sample_arrow2::datatypes::ArbitraryDataType
source · pub struct ArbitraryDataType<N, V, B, F> {
pub names: N,
pub nullable: V,
pub struct_branch: B,
pub flat: F,
}
Fields§
§names: N
§nullable: V
§struct_branch: B
§flat: F
Implementations§
source§impl<N, V, B, F> ArbitraryDataType<N, V, B, F>where
N: Sample<Output = String> + Clone + Send + Sync + 'static,
V: Sample<Output = bool> + Clone + Send + Sync + 'static,
B: Sample<Output = usize> + Clone + Send + Sync + 'static,
F: Fn() -> DataTypeSampler,
impl<N, V, B, F> ArbitraryDataType<N, V, B, F>where N: Sample<Output = String> + Clone + Send + Sync + 'static, V: Sample<Output = bool> + Clone + Send + Sync + 'static, B: Sample<Output = usize> + Clone + Send + Sync + 'static, F: Fn() -> DataTypeSampler,
pub fn sample_nested<IF>(&self, inner: IF) -> DataTypeSamplerwhere IF: Fn() -> DataTypeSampler,
pub fn sample_depth(&self, depth: usize) -> DataTypeSampler
Auto Trait Implementations§
impl<N, V, B, F> RefUnwindSafe for ArbitraryDataType<N, V, B, F>where B: RefUnwindSafe, F: RefUnwindSafe, N: RefUnwindSafe, V: RefUnwindSafe,
impl<N, V, B, F> Send for ArbitraryDataType<N, V, B, F>where B: Send, F: Send, N: Send, V: Send,
impl<N, V, B, F> Sync for ArbitraryDataType<N, V, B, F>where B: Sync, F: Sync, N: Sync, V: Sync,
impl<N, V, B, F> Unpin for ArbitraryDataType<N, V, B, F>where B: Unpin, F: Unpin, N: Unpin, V: Unpin,
impl<N, V, B, F> UnwindSafe for ArbitraryDataType<N, V, B, F>where B: UnwindSafe, F: UnwindSafe, 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