[−][src]Struct xterm_js_sys::ext::disposable::DisposableWrapper
This is supported on
feature="ext"
only.A wrapper for Disposable
that calls dispose
on Drop
.
Fields
inner: Option<D>
This is supported on
feature="ext"
only.The actual Disposable
instance that's being wrapped.
Implementations
impl<D: XtermDisposable> DisposableWrapper<D>
[src][−]
pub fn manually_dispose(self) -> D
[src][−]
This is supported on
feature="ext"
only.Pulls the inner XtermDisposable
implementation (D
) out of the
wrapper, making it so that dispose
is not called on Drop
.
Trait Implementations
impl<D: Clone + XtermDisposable> Clone for DisposableWrapper<D>
[src][+]
impl<D: Debug + XtermDisposable> Debug for DisposableWrapper<D>
[src][+]
impl<D: XtermDisposable + Default> Default for DisposableWrapper<D>
[src][+]
impl<D: XtermDisposable> Deref for DisposableWrapper<D>
[src][+]
impl<D: XtermDisposable> DerefMut for DisposableWrapper<D>
[src][+]
impl<D: XtermDisposable> Drop for DisposableWrapper<D>
[src][+]
impl<D: Eq + XtermDisposable> Eq for DisposableWrapper<D>
[src]
impl<D: XtermDisposable> From<D> for DisposableWrapper<D>
[src][+]
impl<D: Hash + XtermDisposable> Hash for DisposableWrapper<D>
[src][+]
impl<D: Ord + XtermDisposable> Ord for DisposableWrapper<D>
[src][+]
impl<D: PartialEq + XtermDisposable> PartialEq<DisposableWrapper<D>> for DisposableWrapper<D>
[src][+]
impl<D: PartialOrd + XtermDisposable> PartialOrd<DisposableWrapper<D>> for DisposableWrapper<D>
[src][+]
impl<D: XtermDisposable> StructuralEq for DisposableWrapper<D>
[src]
impl<D: XtermDisposable> StructuralPartialEq for DisposableWrapper<D>
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for DisposableWrapper<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D> Send for DisposableWrapper<D> where
D: Send,
D: Send,
impl<D> Sync for DisposableWrapper<D> where
D: Sync,
D: Sync,
impl<D> Unpin for DisposableWrapper<D> where
D: Unpin,
D: Unpin,
impl<D> UnwindSafe for DisposableWrapper<D> where
D: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<!> for T
[src][+]
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,