#[repr(C)]struct Header<A: Atomicity> {
refcount: A,
cap: u32,
}
Fields§
§refcount: A
§cap: u32
Implementations§
Auto Trait Implementations§
impl<A> Freeze for Header<A>where
A: Freeze,
impl<A> RefUnwindSafe for Header<A>where
A: RefUnwindSafe,
impl<A> Send for Header<A>where
A: Send,
impl<A> Sync for Header<A>where
A: Sync,
impl<A> Unpin for Header<A>where
A: Unpin,
impl<A> UnwindSafe for Header<A>where
A: 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