Struct intrusive_collections::rbtree::Link
source · pub struct Link { /* private fields */ }
Expand description
Intrusive link that allows an object to be inserted into a RBTree
.
Implementations
sourceimpl Link
impl Link
sourcepub unsafe fn force_unlink(&self)
pub unsafe fn force_unlink(&self)
Forcibly unlinks an object from a RBTree
.
Safety
It is undefined behavior to call this function while still linked into a
RBTree
. The only situation where this function is useful is
after calling fast_clear
on a RBTree
, since this clears
the collection without marking the nodes as unlinked.
Trait Implementations
impl Send for Link
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more