Struct enterpolation::Composite
source · pub struct Composite<A, B>(_, _);
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>where
A: Curve<R>,
B: Generator<A::Output>,
R: Real,
impl<A, B, R> Curve<R> for Composite<A, B>where A: Curve<R>, B: Generator<A::Output>, R: Real,
source§impl<A, B, T> Generator<T> for Composite<A, B>where
A: Generator<T>,
B: Generator<A::Output>,
impl<A, B, T> Generator<T> for Composite<A, B>where A: Generator<T>, B: Generator<A::Output>,
source§fn extract<I, J>(self, iterator: I) -> Extract<Self, J> ⓘwhere
Self: Sized,
I: IntoIterator<IntoIter = J>,
J: Iterator<Item = Input>,
fn extract<I, J>(self, iterator: I) -> Extract<Self, J> ⓘwhere Self: Sized, I: IntoIterator<IntoIter = J>, J: Iterator<Item = Input>,
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
source§impl<A: PartialEq, B: PartialEq> PartialEq<Composite<A, B>> for Composite<A, B>
impl<A: PartialEq, B: PartialEq> PartialEq<Composite<A, B>> for Composite<A, B>
impl<A: Copy, B: Copy> Copy for Composite<A, B>
impl<A, B> StructuralPartialEq for Composite<A, B>
Auto Trait Implementations§
impl<A, B> RefUnwindSafe for Composite<A, B>where A: RefUnwindSafe, B: RefUnwindSafe,
impl<A, B> Send for Composite<A, B>where A: Send, B: Send,
impl<A, B> Sync for Composite<A, B>where A: Sync, B: Sync,
impl<A, B> Unpin for Composite<A, B>where A: Unpin, B: Unpin,
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