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§
Sourcefn get_node(&self) -> &DoublyLinkedListNode<T>
fn get_node(&self) -> &DoublyLinkedListNode<T>
Returns a reference to the list node.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".