Struct key_node_list::Cursor [−][src]
pub struct Cursor<'a, K, N, M> { /* fields omitted */ }Expand description
A cursor over a KeyNodeList.
Implementations
Returns a reference to the key that the cursor is currently pointing to.
Returns None if the cursor is currently pointing to the null pair.
Provides a reference to the front key of the cursor’s parent list,
or None if the list is empty.
Returns a reference to the node that the cursor is currently pointing to.
Returns None if the cursor is currently pointing to the null pair.
Provides a reference to the front node of the cursor’s parent list,
or None if the list is empty.
Returns a reference to the next key.
If the cursor is pointing to the null pair then this returns the first
key of the KeyNodeList. If it is pointing to the last key of the
KeyNodeList then this returns None.
Returns a reference to the previous key.
If the cursor is pointing to the null pair then this returns the last
key of the KeyNodeList. If it is pointing to the first key of the
KeyNodeList then this returns None.
Returns a reference to the next node.
If the cursor is pointing to the null pair then this returns the first
node of the KeyNodeList. If it is pointing to the last node of the
KeyNodeList then this returns None.
Returns a reference to the previous node.
If the cursor is pointing to the null pair then this returns the last
node of the KeyNodeList. If it is pointing to the first node of the
KeyNodeList then this returns None.
Moves the cursor to the next key-node pair of the KeyNodeList.
If the cursor is pointing to the null pair then this will move it to
the first key-node pair of the KeyNodeList. If it is pointing to
the last key-node pair of the KeyNodeList then this will move it
to the null pair.
Moves the cursor to the previous key-node pair of the KeyNodeList.
If the cursor is pointing to the null pair then this will move it to
the last key-node pair of the KeyNodeList. If it is pointing to
the first key-node pair of the KeyNodeList then this will move it
to the null pair.
Trait Implementations
Auto Trait Implementations
impl<'a, K, N, M> RefUnwindSafe for Cursor<'a, K, N, M> where
K: RefUnwindSafe,
M: RefUnwindSafe,
N: RefUnwindSafe,
impl<'a, K, N, M> UnwindSafe for Cursor<'a, K, N, M> where
K: UnwindSafe + RefUnwindSafe,
M: RefUnwindSafe,
N: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
