Struct windows_core::Weak
pub struct Weak<I: Interface>(/* private fields */);
Expand description
Weak
holds a non-owning reference to an object.
Implementations§
Trait Implementations§
impl<I: Eq + Interface> Eq for Weak<I>
impl<I: Interface> Send for Weak<I>
impl<I: Interface> StructuralPartialEq for Weak<I>
impl<I: Interface> Sync for Weak<I>
Auto Trait Implementations§
impl<I> Freeze for Weak<I>
impl<I> RefUnwindSafe for Weak<I>where
I: RefUnwindSafe,
impl<I> Unpin for Weak<I>where
I: Unpin,
impl<I> UnwindSafe for Weak<I>where
I: 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)