Struct windows_core::Weak
pub struct Weak<I: ComInterface>(_, _);
Expand description
Weak
holds a non-owning reference to an object.
Implementations§
Trait Implementations§
§impl<I: Clone + ComInterface> Clone for Weak<I>
impl<I: Clone + ComInterface> Clone for Weak<I>
§impl<I: Default + ComInterface> Default for Weak<I>
impl<I: Default + ComInterface> Default for Weak<I>
impl<I: Eq + ComInterface> Eq for Weak<I>
impl<I: ComInterface> StructuralEq for Weak<I>
impl<I: ComInterface> StructuralPartialEq for Weak<I>
Auto Trait Implementations§
impl<I> RefUnwindSafe for Weak<I>where I: RefUnwindSafe,
impl<I> !Send for Weak<I>
impl<I> !Sync for Weak<I>
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