pub struct Cons<F> { /* private fields */ }Expand description
The Disposable constructed by the specified function.
Trait Implementations§
Source§impl<F> Disposable for Cons<F>
impl<F> Disposable for Cons<F>
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) -> DisposableBoxwhere
Self: Sized + 'static,
fn into_boxed(self) -> DisposableBoxwhere
Self: Sized + 'static,
Convert into a boxed representation.
Auto Trait Implementations§
impl<F> Freeze for Cons<F>where
F: Freeze,
impl<F> RefUnwindSafe for Cons<F>where
F: RefUnwindSafe,
impl<F> Send for Cons<F>where
F: Send,
impl<F> Sync for Cons<F>where
F: Sync,
impl<F> Unpin for Cons<F>where
F: Unpin,
impl<F> UnwindSafe for Cons<F>where
F: UnwindSafe,
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.