SerialDisposable
struct · ferroui-reactive · v0.5.0
struct SerialDisposable
A disposable whose underlying disposable can be replaced, which disposes the previous one
(SerialDisposable).
Members
new
fn new() -> Rc<Self>
disposable
fn disposable(self: &Self) -> Option<Rc<dyn IDisposable>>
set_disposable
fn set_disposable(self: &Self, value: Option<Rc<dyn IDisposable>>)
Replaces the underlying disposable and disposes the previous one; a disposable assigned after this one was disposed is disposed at once.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyDefaultIDisposableICancelable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.