pub struct Weak<I: Interface>(_, _);
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> StructuralEq for Weak<I>
impl<I: Interface> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more