pub struct CursorMut<'a, G: GetLinksWrapped> { /* private fields */ }
Expand description

A list cursor that allows traversing a linked list and inspecting & mutating elements.

Implementations

Returns the element the cursor is currently positioned on.

Removes the element the cursor is currently positioned on.

After removal, it advances the cursor to the next element.

Returns the element immediately after the one the cursor is positioned on.

Returns the element immediately before the one the cursor is positioned on.

Moves the cursor to the next element.

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.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.