pub struct RecursiveSampler<G> {
    pub depth: Option<Range<usize>>,
    pub node: G,
}Fields§
§depth: Option<Range<usize>>§node: GTrait Implementations§
Source§impl<G: Clone> Clone for RecursiveSampler<G>
 
impl<G: Clone> Clone for RecursiveSampler<G>
Source§fn clone(&self) -> RecursiveSampler<G>
 
fn clone(&self) -> RecursiveSampler<G>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl<G: Debug> Debug for RecursiveSampler<G>
 
impl<G: Debug> Debug for RecursiveSampler<G>
Source§impl<G, N> Sample for RecursiveSampler<G>
 
impl<G, N> Sample for RecursiveSampler<G>
type Output = N
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
Auto Trait Implementations§
impl<G> Freeze for RecursiveSampler<G>where
    G: Freeze,
impl<G> RefUnwindSafe for RecursiveSampler<G>where
    G: RefUnwindSafe,
impl<G> Send for RecursiveSampler<G>where
    G: Send,
impl<G> Sync for RecursiveSampler<G>where
    G: Sync,
impl<G> Unpin for RecursiveSampler<G>where
    G: Unpin,
impl<G> UnwindSafe for RecursiveSampler<G>where
    G: 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