[][src]Trait intrusive_collections::singly_linked_list::SinglyLinkedListOps

pub unsafe trait SinglyLinkedListOps: LinkOps {
    unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>;
unsafe fn set_next(
        &mut self,
        ptr: Self::LinkPtr,
        next: Option<Self::LinkPtr>
    ); }

Link operations for SinglyLinkedList.

Required methods

unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>

Returns the "next" link pointer of ptr.

Safety

An implementation of next must not panic.

unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>)

Sets the "next" link pointer of ptr.

Safety

An implementation of set_next must not panic.

Loading content...

Implementors

impl SinglyLinkedListOps for intrusive_collections::linked_list::LinkOps[src]

impl SinglyLinkedListOps for intrusive_collections::rbtree::LinkOps[src]

impl SinglyLinkedListOps for intrusive_collections::singly_linked_list::LinkOps[src]

impl SinglyLinkedListOps for intrusive_collections::xor_linked_list::LinkOps[src]

Loading content...