[−][src]Trait intrusive_collections::rbtree::RBTreeOps
Link operations for RBTree
.
Required methods
unsafe fn left(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
unsafe fn right(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
unsafe fn parent(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
unsafe fn color(&self, ptr: Self::LinkPtr) -> Color
unsafe fn set_left(&mut self, ptr: Self::LinkPtr, left: Option<Self::LinkPtr>)
unsafe fn set_right(&mut self, ptr: Self::LinkPtr, right: Option<Self::LinkPtr>)
unsafe fn set_parent(
&mut self,
ptr: Self::LinkPtr,
parent: Option<Self::LinkPtr>
)
&mut self,
ptr: Self::LinkPtr,
parent: Option<Self::LinkPtr>
)
unsafe fn set_color(&mut self, ptr: Self::LinkPtr, color: Color)
Implementors
impl RBTreeOps for LinkOps
[src]
unsafe fn left(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
[src]
unsafe fn right(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
[src]
unsafe fn parent(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
[src]
unsafe fn color(&self, ptr: Self::LinkPtr) -> Color
[src]
unsafe fn set_left(&mut self, ptr: Self::LinkPtr, left: Option<Self::LinkPtr>)
[src]
unsafe fn set_right(&mut self, ptr: Self::LinkPtr, right: Option<Self::LinkPtr>)
[src]
unsafe fn set_parent(
&mut self,
ptr: Self::LinkPtr,
parent: Option<Self::LinkPtr>
)
[src]
&mut self,
ptr: Self::LinkPtr,
parent: Option<Self::LinkPtr>
)