Skip to main content

DoublyLinkedListContainable

Trait DoublyLinkedListContainable 

Source
pub trait DoublyLinkedListContainable<T, Tag = DefaultObjectTag> {
    // Required method
    fn get_node(&self) -> &DoublyLinkedListNode<T>;
}
Expand description

Trait that types must implement to be contained in a DoublyLinkedList.

Required Methods§

Source

fn get_node(&self) -> &DoublyLinkedListNode<T>

Returns a reference to the list node.

Implementors§