Struct relm_test::Observer
[−]
[src]
pub struct Observer<MSG> { /* fields omitted */ }
Methods
impl<MSG: Clone + 'static> Observer<MSG>
[src]
pub fn new<F: Fn(&MSG) -> bool + 'static>(
stream: &EventStream<MSG>,
predicate: F
) -> Self
[src]
stream: &EventStream<MSG>,
predicate: F
) -> Self