pub struct PrimitiveArraySampler<PT, V, T> { /* private fields */ }Trait Implementations§
Source§impl<PT: Clone, V: Clone, T: Clone> Clone for PrimitiveArraySampler<PT, V, T>
impl<PT: Clone, V: Clone, T: Clone> Clone for PrimitiveArraySampler<PT, V, T>
Source§fn clone(&self) -> PrimitiveArraySampler<PT, V, T>
fn clone(&self) -> PrimitiveArraySampler<PT, V, T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<PT, V, T> Sample for PrimitiveArraySampler<PT, V, T>
impl<PT, V, T> Sample for PrimitiveArraySampler<PT, V, T>
type Output = Arc<dyn Array>
Source§fn shrink(&self, _: Self::Output) -> Shrunk<'_, Self::Output>
fn shrink(&self, _: Self::Output) -> Shrunk<'_, Self::Output>
Shrink the given value into a “smaller” value. Defaults to an empty
iterator (which represents that the value cannot be shrunk).
Source§fn try_convert<T, I, F>(self, from: F, try_into: I) -> TryConvert<Self, F, I>
fn try_convert<T, I, F>(self, from: F, try_into: I) -> TryConvert<Self, F, I>
Source§fn zip<OS>(self, other: OS) -> Zip<Self, OS>
fn zip<OS>(self, other: OS) -> Zip<Self, OS>
“Zip” two samplers together. Functionally equivalent to
(self, other).Source§fn chain_resample<F, RS>(
self,
transform: F,
subsamples: usize,
) -> ChainResample<Self, F>
fn chain_resample<F, RS>( self, transform: F, subsamples: usize, ) -> ChainResample<Self, F>
“Resampling” method for chaining samplers. Read more
impl<PT, V, T> SampleLen for PrimitiveArraySampler<PT, V, T>
Auto Trait Implementations§
impl<PT, V, T> Freeze for PrimitiveArraySampler<PT, V, T>
impl<PT, V, T> RefUnwindSafe for PrimitiveArraySampler<PT, V, T>
impl<PT, V, T> Send for PrimitiveArraySampler<PT, V, T>
impl<PT, V, T> Sync for PrimitiveArraySampler<PT, V, T>
impl<PT, V, T> Unpin for PrimitiveArraySampler<PT, V, T>
impl<PT, V, T> UnsafeUnpin for PrimitiveArraySampler<PT, V, T>
impl<PT, V, T> UnwindSafe for PrimitiveArraySampler<PT, V, T>
Blanket Implementations§
impl<T> Allocation for T
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