pub struct RefEntry<V> {
pub value: V,
pub ref_count: u32,
}Expand description
Entry in the ref-counted table.
Fields§
§value: V§ref_count: u32Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for RefEntry<V>where
V: Freeze,
impl<V> RefUnwindSafe for RefEntry<V>where
V: RefUnwindSafe,
impl<V> Send for RefEntry<V>where
V: Send,
impl<V> Sync for RefEntry<V>where
V: Sync,
impl<V> Unpin for RefEntry<V>where
V: Unpin,
impl<V> UnsafeUnpin for RefEntry<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for RefEntry<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