pub struct Zip<O, U> { /* private fields */ }Expand description
The zip of two Observer computations.
Trait Implementations§
Source§impl<O, U> Observer for Zip<O, U>
impl<O, U> Observer for Zip<O, U>
Source§type Item = (<O as Observer>::Item, <U as Observer>::Item)
type Item = (<O as Observer>::Item, <U as Observer>::Item)
The type of the item that the computation returns.
Source§fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
Bind the current computation with its continuation within the resulting computation.
Source§fn map<B, F>(self, f: F) -> Map<Self, B, F>
fn map<B, F>(self, f: F) -> Map<Self, B, F>
Map the current computation using the specified transform.
Source§fn zip<U>(self, other: U) -> Zip<Self, U>
fn zip<U>(self, other: U) -> Zip<Self, U>
Zip the current computation with another one within the resulting computation.
Source§fn into_boxed(self) -> ObserverBox<Self::Message, Self::Item>
fn into_boxed(self) -> ObserverBox<Self::Message, Self::Item>
Convert into a boxed value.
Auto Trait Implementations§
impl<O, U> Freeze for Zip<O, U>
impl<O, U> RefUnwindSafe for Zip<O, U>where
O: RefUnwindSafe,
U: RefUnwindSafe,
impl<O, U> Send for Zip<O, U>
impl<O, U> Sync for Zip<O, U>
impl<O, U> Unpin for Zip<O, U>
impl<O, U> UnwindSafe for Zip<O, U>where
O: UnwindSafe,
U: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<M> IntoObserver for Mwhere
M: Observer,
impl<M> IntoObserver for Mwhere
M: Observer,
Source§type Message = <M as Observer>::Message
type Message = <M as Observer>::Message
The type of messages that are processed by the observer.
Source§fn into_observer(self) -> <M as IntoObserver>::Observer
fn into_observer(self) -> <M as IntoObserver>::Observer
Convert to the
Observer computation.