Struct cros_async::sync::waiter::AtomicLinkOps
source · pub struct AtomicLinkOps;
Trait Implementations§
source§impl Clone for AtomicLinkOps
impl Clone for AtomicLinkOps
source§fn clone(&self) -> AtomicLinkOps
fn clone(&self) -> AtomicLinkOps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AtomicLinkOps
impl Default for AtomicLinkOps
source§fn default() -> AtomicLinkOps
fn default() -> AtomicLinkOps
Returns the “default value” for a type. Read more
source§impl LinkOps for AtomicLinkOps
impl LinkOps for AtomicLinkOps
§type LinkPtr = NonNull<AtomicLink>
type LinkPtr = NonNull<AtomicLink>
The link pointer type.
source§unsafe fn acquire_link(&mut self, ptr: Self::LinkPtr) -> bool
unsafe fn acquire_link(&mut self, ptr: Self::LinkPtr) -> bool
Attempts to acquire ownership of a link so that it can be used in an
intrusive collection. Read more
source§unsafe fn release_link(&mut self, ptr: Self::LinkPtr)
unsafe fn release_link(&mut self, ptr: Self::LinkPtr)
Releases ownership of a link that was previously acquired with
acquire_link
. Read moresource§impl LinkedListOps for AtomicLinkOps
impl LinkedListOps for AtomicLinkOps
source§unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
Returns the “next” link pointer of
ptr
. Read moresource§unsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
unsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
Returns the “prev” link pointer of
ptr
. Read moreimpl Copy for AtomicLinkOps
Auto Trait Implementations§
impl RefUnwindSafe for AtomicLinkOps
impl Send for AtomicLinkOps
impl Sync for AtomicLinkOps
impl Unpin for AtomicLinkOps
impl UnwindSafe for AtomicLinkOps
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