pub struct Merge<M, U> { /* private fields */ }Expand description
The merge of two Observable computations.
Trait Implementations§
Source§impl<M, U> Observable for Merge<M, U>
 
impl<M, U> Observable for Merge<M, U>
Source§type Message = <M as Observable>::Message
 
type Message = <M as Observable>::Message
The type of messages to notify in the current modeling time.
Source§fn subscribe<O>(self, observer: O) -> EventBox<DisposableBox>
 
fn subscribe<O>(self, observer: O) -> EventBox<DisposableBox>
Subscribe the observer.
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 mapc<U, B, F>(self, f: F) -> MapC<Self, U, B, F>
 
fn mapc<U, B, F>(self, f: F) -> MapC<Self, U, B, F>
Map the current computation using the specified transform computation.
Source§fn hold(self, dt: f64) -> Hold<Self>
 
fn hold(self, dt: f64) -> Hold<Self>
Hold the receiving of messages for the specified time interval.
Source§fn holdc<U, F>(self, f: F) -> HoldC<Self, U, F>
 
fn holdc<U, F>(self, f: F) -> HoldC<Self, U, F>
Hold the receiving of messages for intervals calculated within 
Event computation.Source§fn merge<U>(self, other: U) -> Merge<Self, U>
 
fn merge<U>(self, other: U) -> Merge<Self, U>
Merge the current computation with another one within the resulting computation.
Source§fn into_boxed(self) -> ObservableBox<Self::Message>
 
fn into_boxed(self) -> ObservableBox<Self::Message>
Convert into a boxed value.
Auto Trait Implementations§
impl<M, U> Freeze for Merge<M, U>
impl<M, U> RefUnwindSafe for Merge<M, U>where
    M: RefUnwindSafe,
    U: RefUnwindSafe,
impl<M, U> Send for Merge<M, U>
impl<M, U> Sync for Merge<M, U>
impl<M, U> Unpin for Merge<M, U>
impl<M, U> UnwindSafe for Merge<M, U>where
    M: 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> IntoObservable for Mwhere
    M: Observable,
 
impl<M> IntoObservable for Mwhere
    M: Observable,
Source§type Observable = M
 
type Observable = M
The target computation.
Source§type Message = <M as Observable>::Message
 
type Message = <M as Observable>::Message
The type of messages about which the computation notifies.
Source§fn into_observable(self) -> <M as IntoObservable>::Observable
 
fn into_observable(self) -> <M as IntoObservable>::Observable
Convert to the 
Observable computation.