Cargo Features

LinkedVector has no features set by default.

[dependencies]
linked-vector = { version = "1.2.1", features = ["optionless-accessors", "cursor-remove"] }
optionless-accessors

Certain accesors like get() and get_mut() that take a handle as a parameter would panic on a bad handle anyway, so it doesn't make sense that they return an Option. This feature changes the Option return values for those methods to direct references to their values.

Affects cursor::CursorBase.get, cursor::CursorBase.move_to

cursor-remove

This feature enables the remove() method of CursorMut. Care should be taken to ensure the LinkedVector a CursorMut is attached to isn't empty before performing other operations after remove() has drained it.