Struct intrusive_collections::linked_list::Link
source · pub struct Link { /* private fields */ }
Expand description
Intrusive link that allows an object to be inserted into a LinkedList
.
Implementations
sourceimpl Link
impl Link
sourcepub unsafe fn force_unlink(&self)
pub 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
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