pub struct IterativeFn<S, F> {
eval: F,
output: PhantomData<fn() -> S>,
}Expand description
An IterativeEval backed by a stepping function.
The wrapper binds the function’s mutable input type as the evaluator’s
unique Output. Prefer Iterative::from_fn to
constructing this type directly.
Fields§
§eval: F§output: PhantomData<fn() -> S>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S, F> Freeze for IterativeFn<S, F>where
F: Freeze,
impl<S, F> RefUnwindSafe for IterativeFn<S, F>where
F: RefUnwindSafe,
impl<S, F> Send for IterativeFn<S, F>where
F: Send,
impl<S, F> Sync for IterativeFn<S, F>where
F: Sync,
impl<S, F> Unpin for IterativeFn<S, F>where
F: Unpin,
impl<S, F> UnsafeUnpin for IterativeFn<S, F>where
F: UnsafeUnpin,
impl<S, F> UnwindSafe for IterativeFn<S, F>where
F: 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
impl<T> ConditionalSend for Twhere
T: Send,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.
§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> TransformedExt for T
impl<T> TransformedExt for T
Source§fn transformed<G>(self, transform: G) -> Transformed<Self, G>
fn transformed<G>(self, transform: G) -> Transformed<Self, G>
Return
self wrapped with transform stored exactly as G.