pub struct Empty {}Expand description
An empty Disposable that disposes nothing.
Trait Implementations§
Source§impl Disposable for Empty
impl Disposable for Empty
Source§fn into_event(self) -> DisposableEvent<Self>where
Self: Sized,
fn into_event(self) -> DisposableEvent<Self>where
Self: Sized,
Convert to the
Event computation.Source§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.Source§fn into_boxed(self) -> DisposableBox
fn into_boxed(self) -> DisposableBox
Convert into a boxed representation.
Auto Trait Implementations§
impl Freeze for Empty
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnwindSafe for Empty
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<M> IntoDisposable for Mwhere
M: Disposable,
impl<M> IntoDisposable for Mwhere
M: Disposable,
type Disposable = M
Source§fn into_disposable(self) -> <M as IntoDisposable>::Disposable
fn into_disposable(self) -> <M as IntoDisposable>::Disposable
Convert to the
Disposable computation.