pub struct FoldSignal<F, A, B> where F: 'static + Send + Fn(B, A) -> B, A: 'static + Send + Clone, B: 'static + Send + Clone {
// some fields omitted
}
The result of a fold
operation
Methods
impl<F, A, B> FoldSignal<F, A, B> where F: 'static + Send + Fn(B, A) -> B, A: 'static + Send + Clone, B: 'static + Send + Clone
Trait Implementations
impl<F, A, B> Signal<B> for FoldSignal<F, A, B> where F: 'static + Send + Fn(B, A) -> B, A: 'static + Send + Clone, B: 'static + Send + Clone
impl<F, A, B> SignalExt<B> for FoldSignal<F, A, B> where F: 'static + Send + Fn(B, A) -> B, A: 'static + Send + Clone, B: 'static + Send + Clone
fn lift<F, B>(self, f: F) -> LiftSignal<F, A, B> where F: 'static + Send + Fn(A) -> B, B: 'static + Send + Clone
fn lift2<F, SB, B, C>(self, right: SB, f: F) -> Lift2Signal<F, A, B, C> where SB: 'static + Signal<B>, F: 'static + Send + Fn(Value<A>, Value<B>) -> C, B: 'static + Send + Clone, C: 'static + Send + Clone
fn fold<F, B>(self, initial: B, f: F) -> FoldSignal<F, A, B> where F: 'static + Send + Fn(B, A) -> B, B: 'static + Send + Clone
fn map<F, B>(self, f: F) -> LiftSignal<F, A, B> where F: 'static + Send + Fn(A) -> B, B: 'static + Send + Clone
fn zip<SB, B>(self, right: SB) -> Box<Signal<(Value<A>, Value<B>)>> where SB: 'static + Signal<B>, B: 'static + Send + Clone
fn inspect<F>(self, f: F) -> Box<Signal<A>> where F: 'static + Send + Fn(&A) -> bool