pub struct ValuePtr<V>(/* private fields */);Expand description
A lightweight, Copy pointer to a heap-allocated value.
Trait Implementations§
Source§impl<V: Ord> Ord for ValuePtr<V>
impl<V: Ord> Ord for ValuePtr<V>
Source§impl<V: PartialOrd> PartialOrd for ValuePtr<V>
impl<V: PartialOrd> PartialOrd for ValuePtr<V>
impl<V> Copy for ValuePtr<V>
impl<V: Eq> Eq for ValuePtr<V>
impl<V: Send + Sync> Send for ValuePtr<V>
impl<V: Send + Sync> Sync for ValuePtr<V>
Auto Trait Implementations§
impl<V> Freeze for ValuePtr<V>
impl<V> RefUnwindSafe for ValuePtr<V>where
V: RefUnwindSafe,
impl<V> Unpin for ValuePtr<V>
impl<V> UnsafeUnpin for ValuePtr<V>
impl<V> UnwindSafe for ValuePtr<V>where
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