pub struct SerialDisposable { /* private fields */ }Expand description
Holds a replaceable inner disposable; assigning a new one disposes the previous one.
Implementations§
Trait Implementations§
Source§impl Default for SerialDisposable
impl Default for SerialDisposable
Source§impl IDisposable for SerialDisposable
impl IDisposable for SerialDisposable
Auto Trait Implementations§
impl !Freeze for SerialDisposable
impl !RefUnwindSafe for SerialDisposable
impl !Send for SerialDisposable
impl !Sync for SerialDisposable
impl !UnwindSafe for SerialDisposable
impl Unpin for SerialDisposable
impl UnsafeUnpin for SerialDisposable
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more