Struct dvcompute::simulation::observable::Filter [−][src]
pub struct Filter<M, F> { /* fields omitted */ }
Expand description
The filter for the Observable
computation.
Trait Implementations
impl<M, F> Observable for Filter<M, F> where
M: Observable,
F: Fn(&M::Message) -> bool + 'static,
M::Message: 'static,
impl<M, F> Observable for Filter<M, F> where
M: Observable,
F: Fn(&M::Message) -> bool + 'static,
M::Message: 'static,
Subscribe the observer.
Map the current computation using the specified transform.
Map the current computation using the specified transform computation.
Filter the messages.
Filter the messages within computation.
Delay the receiving of messages.
Delay the receiving of messages by intervals calculated within Event
computation.
Merge the current computation with another one within the resulting computation.
Convert into a boxed value.
Auto Trait Implementations
impl<M, F> RefUnwindSafe for Filter<M, F> where
F: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, F> UnwindSafe for Filter<M, F> where
F: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Observable = M
type Observable = M
The target computation.
type Message = <M as Observable>::Message
type Message = <M as Observable>::Message
The type of messages about which the computation notifies.
Convert to the Observable
computation.