Struct intrusive_collections::linked_list::Link[][src]

#[repr(align(2))]
pub struct Link { /* fields omitted */ }
Expand description

Intrusive link that allows an object to be inserted into a LinkedList.

Implementations

Creates a new Link.

Checks whether the Link is linked into a LinkedList.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The default link operations.

The associated constant that represents Ops::default(). Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.