pub struct Composite<A, B>(/* private fields */);
Expand description
Struct which composite two generator together to act as one generator.
This struct
is created by Generator::composite
. See its documentation for more.
Implementations§
Trait Implementations§
Source§impl<A, B, R> Curve<R> for Composite<A, B>
impl<A, B, R> Curve<R> for Composite<A, B>
Source§impl<A, B, T> Generator<T> for Composite<A, B>
impl<A, B, T> Generator<T> for Composite<A, B>
Source§fn extract<I, J>(self, iterator: I) -> Extract<Self, J> ⓘ
fn extract<I, J>(self, iterator: I) -> Extract<Self, J> ⓘ
Helper function if one wants to extract values from the interpolation. Read more
Source§fn stack<G>(self, gen: G) -> Stack<Self, G>where
Self: Sized,
fn stack<G>(self, gen: G) -> Stack<Self, G>where
Self: Sized,
Stack two generators together Read more
impl<A: Copy, B: Copy> Copy for Composite<A, B>
impl<A, B> StructuralPartialEq for Composite<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Composite<A, B>
impl<A, B> RefUnwindSafe for Composite<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Composite<A, B>
impl<A, B> Sync for Composite<A, B>
impl<A, B> Unpin for Composite<A, B>
impl<A, B> UnwindSafe for Composite<A, B>where
A: UnwindSafe,
B: 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