pub struct CachePaddedAtomicPtr<T>(/* private fields */);Expand description
Alias to CachePadded<AtomicPtr.<T>>
Implementations§
Source§impl<T> CachePaddedAtomicPtr<T>
impl<T> CachePaddedAtomicPtr<T>
Sourcepub const fn new(ptr: *mut T) -> Self
pub const fn new(ptr: *mut T) -> Self
Creates a new CachePadded<AtomicPtr.<T>>
Trait Implementations§
Source§impl<T> Deref for CachePaddedAtomicPtr<T>
impl<T> Deref for CachePaddedAtomicPtr<T>
Auto Trait Implementations§
impl<T> !Freeze for CachePaddedAtomicPtr<T>
impl<T> RefUnwindSafe for CachePaddedAtomicPtr<T>
impl<T> Send for CachePaddedAtomicPtr<T>
impl<T> Sync for CachePaddedAtomicPtr<T>
impl<T> Unpin for CachePaddedAtomicPtr<T>
impl<T> UnsafeUnpin for CachePaddedAtomicPtr<T>
impl<T> UnwindSafe for CachePaddedAtomicPtr<T>where
T: 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