Struct another_rxrust::observable::Subscription
source · pub struct Subscription<'a> { /* private fields */ }
Implementations§
source§impl<'a> Subscription<'a>
impl<'a> Subscription<'a>
pub fn new<Unsub>(unsub: Unsub) -> Subscription<'a>where Unsub: Fn() + Send + Sync + 'a,
pub fn unsubscribe(&self)
Trait Implementations§
source§impl<'a> Clone for Subscription<'a>
impl<'a> Clone for Subscription<'a>
source§fn clone(&self) -> Subscription<'a>
fn clone(&self) -> Subscription<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more