pub struct Counted<V> {
pub refcount: UsizeCount,
pub value: V,
}Fields§
§refcount: UsizeCount§value: VImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> !Freeze for Counted<V>
impl<V> !RefUnwindSafe for Counted<V>
impl<V> Send for Counted<V>where
V: Send,
impl<V> !Sync for Counted<V>
impl<V> Unpin for Counted<V>where
V: Unpin,
impl<V> UnwindSafe for Counted<V>where
V: 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