Creates a linked list from a compatible range.
Returns true if the element is found within the set.
Returns the amount of elements found in the set.
Inserts an element at the given index.
Inserts an element at the end of the list.
Moves to the n-th position and returns the element of that position.
Returns the element at begin and increments the position by one.
Set operators. Enables math operations on sets, like unions and intersections. Could work on ranges in general as long as they implement some basic functions, like iteration.
Returns the element at the given index. Will cause segfault if indexed out of bounds.
Returns the element at the given index. Will cause segfault if indexed out of bounds.
Assigns an element to the index.
Range operators.
Range operators.
Set operators.
Set operators.
Creates a slice from the list.
Decrements the back iteration position by one
Increments the front iteration position by one
Inserts an element at the end of the list.
Removes the given index of the list. Return the value held at the given position
Removes an index if the value is found. Returns the original if found, or E.init if not.
Sets a given element to the top.
Swaps two elements.
Returns the string representation of the list.
Returns the index where the element can be found, or throws an ElementNotFoundException if not found.
Returns the elements of the list copied into an array.
Returns the element at the back.
Returns the element at the back.
Returns true when the end of the list have been reached.
Returns the element at the front.
Returns the element at the front.
Returns the number of currently held elements within the list.
Returns a copy of this struct.
Simple linked list implementation. Has very good insertion speed and deletion speeds, but mediocre access.