pub struct WeakContext { /* private fields */ }Expand description
A weak reference to $name
Trait Implementations§
Source§impl Clone for WeakContext
impl Clone for WeakContext
Source§fn clone(&self) -> WeakContext
fn clone(&self) -> WeakContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Send for WeakContext
impl Sync for WeakContext
Auto Trait Implementations§
impl Freeze for WeakContext
impl !RefUnwindSafe for WeakContext
impl Unpin for WeakContext
impl !UnwindSafe for WeakContext
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