Struct intrusive_collections::linked_list::Link
[−]
[src]
pub struct Link { /* fields omitted */ }
Intrusive link that allows an object to be inserted into a LinkedList
.
Methods
impl Link
[src]
fn new() -> Link
Creates a new Link
.
fn is_linked(&self) -> bool
Checks whether the Link
is linked into a LinkedList
.
unsafe fn force_unlink(&self)
Forcibly unlinks an object from a LinkedList
.
Safety
It is undefined behavior to call this function while still linked into a
LinkedList
. The only situation where this function is useful is
after calling fast_clear
on a LinkedList
, 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
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more