Struct fp_rust::common::SubscriptionFunc [−][src]
pub struct SubscriptionFunc<T> { pub receiver: RawReceiver<T>, // some fields omitted }
Fields
receiver: RawReceiver<T>
Methods
impl<T: Send + Sync + 'static + Clone> SubscriptionFunc<T>
[src]
impl<T: Send + Sync + 'static + Clone> SubscriptionFunc<T>
Trait Implementations
impl<X: Send + Sync + 'static + Clone> Observable<X, SubscriptionFunc<X>> for Publisher<X, SubscriptionFunc<X>>
[src]
impl<X: Send + Sync + 'static + Clone> Observable<X, SubscriptionFunc<X>> for Publisher<X, SubscriptionFunc<X>>
fn add_observer(&mut self, observer: Arc<SubscriptionFunc<X>>)
[src]
fn add_observer(&mut self, observer: Arc<SubscriptionFunc<X>>)
fn delete_observer(&mut self, observer: Arc<SubscriptionFunc<X>>)
[src]
fn delete_observer(&mut self, observer: Arc<SubscriptionFunc<X>>)
fn notify_observers(&mut self, val: Arc<X>)
[src]
fn notify_observers(&mut self, val: Arc<X>)
impl<T: Clone> Clone for SubscriptionFunc<T>
[src]
impl<T: Clone> Clone for SubscriptionFunc<T>
fn clone(&self) -> SubscriptionFunc<T>
[src]
fn clone(&self) -> SubscriptionFunc<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Send + Sync + 'static + Clone> PartialEq for SubscriptionFunc<T>
[src]
impl<T: Send + Sync + 'static + Clone> PartialEq for SubscriptionFunc<T>
fn eq(&self, other: &SubscriptionFunc<T>) -> bool
[src]
fn eq(&self, other: &SubscriptionFunc<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<T: Send + Sync + 'static + Clone> Subscription<T> for SubscriptionFunc<T>
[src]
impl<T: Send + Sync + 'static + Clone> Subscription<T> for SubscriptionFunc<T>
Auto Trait Implementations
impl<T> Send for SubscriptionFunc<T> where
T: Send,
impl<T> Send for SubscriptionFunc<T> where
T: Send,
impl<T> Sync for SubscriptionFunc<T> where
T: Sync,
impl<T> Sync for SubscriptionFunc<T> where
T: Sync,