pub unsafe trait SinglyLinkedListOps: LinkOps {
// Required methods
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
.