pub struct LinkedList<T> { /* private fields */ }

Implementations

delete all entries from LinkedList

If list is empty, return NULL, otherwise, delete all entries and return the pointer to the first entry.

Adds a node to the LinkedList.

Safety: This function is only safe as long as node is guaranteed to get removed from the list before it gets moved or dropped.

Adds a list to the LinkedList.

Safety: This function is only safe as long as node is guaranteed to get removed from the list before it gets moved or dropped.

Removes a node from the LinkedList.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.