Struct intrusive_collections::linked_list::LinkOps  
source · pub struct LinkOps;Expand description
Default LinkOps implementation for LinkedList.
Trait Implementations§
source§impl LinkOps for LinkOps
 
impl LinkOps for LinkOps
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 LinkOps
 
impl LinkedListOps for LinkOps
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 moresource§impl SinglyLinkedListOps for LinkOps
 
impl SinglyLinkedListOps for LinkOps
source§impl XorLinkedListOps for LinkOps
 
impl XorLinkedListOps for LinkOps
source§unsafe fn next(
    &self,
    ptr: Self::LinkPtr,
    prev: Option<Self::LinkPtr>
) -> Option<Self::LinkPtr>
 
unsafe fn next( &self, ptr: Self::LinkPtr, prev: Option<Self::LinkPtr> ) -> Option<Self::LinkPtr>
Returns the “next” link pointer of 
ptr. Read moresource§unsafe fn prev(
    &self,
    ptr: Self::LinkPtr,
    next: Option<Self::LinkPtr>
) -> Option<Self::LinkPtr>
 
unsafe fn prev( &self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr> ) -> Option<Self::LinkPtr>
Returns the “prev” link pointer of 
ptr. Read moreimpl Copy for LinkOps
Auto Trait Implementations§
impl RefUnwindSafe for LinkOps
impl Send for LinkOps
impl Sync for LinkOps
impl Unpin for LinkOps
impl UnwindSafe for LinkOps
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more