Struct intrusive_collections::rbtree::Link
[−]
[src]
pub struct Link { /* fields omitted */ }
Intrusive link that allows an object to be inserted into a RBTree
.
Methods
impl Link
[src]
fn new() -> Link
[src]
Creates a new Link
.
fn is_linked(&self) -> bool
[src]
Checks whether the Link
is linked into a RBTree
.
unsafe fn force_unlink(&self)
[src]
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
[src]
impl Clone for Link
[src]
fn clone(&self) -> Link
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more