Trait dvcompute::simulation::observable::disposable::Disposable [−][src]
pub trait Disposable {
fn into_event(self) -> DisposableEvent<Self>
where
Self: Sized,
{ ... }
fn merge<U>(self, other: U) -> Merge<Self, U>
where
Self: Sized,
U: Disposable,
{ ... }
fn into_boxed(self) -> DisposableBox
where
Self: Sized + 'static,
{ ... }
}
Expand description
The computation that disposes the observable subscription.
Provided methods
fn into_event(self) -> DisposableEvent<Self> where
Self: Sized,
fn into_event(self) -> DisposableEvent<Self> where
Self: Sized,
Convert to the Event
computation.
fn merge<U>(self, other: U) -> Merge<Self, U> where
Self: Sized,
U: Disposable,
fn merge<U>(self, other: U) -> Merge<Self, U> where
Self: Sized,
U: Disposable,
Merge with another Disposable
computation.
fn into_boxed(self) -> DisposableBox where
Self: Sized + 'static,
fn into_boxed(self) -> DisposableBox where
Self: Sized + 'static,
Convert into a boxed representation.