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

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>
    ); }
Expand description

Link operations for SinglyLinkedList.

Required methods

Returns the “next” link pointer of ptr.

Safety

An implementation of next must not panic.

Sets the “next” link pointer of ptr.

Safety

An implementation of set_next must not panic.

Implementors