pub struct WeakMapRef<K: Ord + Clone, V: Clone, const SIZE: usize>(/* private fields */);Expand description
A weak reference to a map.
Implementations§
Trait Implementations§
Source§impl<K: Clone + Ord + Clone, V: Clone + Clone, const SIZE: usize> Clone for WeakMapRef<K, V, SIZE>
impl<K: Clone + Ord + Clone, V: Clone + Clone, const SIZE: usize> Clone for WeakMapRef<K, V, SIZE>
Source§fn clone(&self) -> WeakMapRef<K, V, SIZE>
fn clone(&self) -> WeakMapRef<K, V, SIZE>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<K, V, const SIZE: usize> Freeze for WeakMapRef<K, V, SIZE>
impl<K, V, const SIZE: usize> RefUnwindSafe for WeakMapRef<K, V, SIZE>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, const SIZE: usize> Send for WeakMapRef<K, V, SIZE>
impl<K, V, const SIZE: usize> Sync for WeakMapRef<K, V, SIZE>
impl<K, V, const SIZE: usize> Unpin for WeakMapRef<K, V, SIZE>
impl<K, V, const SIZE: usize> UnsafeUnpin for WeakMapRef<K, V, SIZE>
impl<K, V, const SIZE: usize> UnwindSafe for WeakMapRef<K, V, SIZE>where
K: RefUnwindSafe,
V: RefUnwindSafe,
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