pub struct Owned<K: RdKind> { /* private fields */ }Expand description
The one RAII handle for a RenderingDevice RID.
Dropping it (including by overwriting it with a new handle) frees the RID through the sink it was created with. See the module docs for the drop-order contract.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for Owned<K>
impl<K> !RefUnwindSafe for Owned<K>
impl<K> Send for Owned<K>where
K: Send,
impl<K> Sync for Owned<K>where
K: Sync,
impl<K> Unpin for Owned<K>where
K: Unpin,
impl<K> UnsafeUnpin for Owned<K>
impl<K> !UnwindSafe for Owned<K>
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