Struct arenatree::NodeList[][src]

pub struct NodeList<T: AsMut<Node>> { /* fields omitted */ }

An easy way to create a list of nodes. The first node will point to the next, etc...


impl<T: AsMut<Node>> NodeList<T>

Create a new instance

Push a new node to this list

Push a slice of nodes to this list. Each node will get linked to the next one. If one of the nodes already have siblings, they'll be added as well.

Return the first node in the list

Trait Implementations

impl<T: Clone + AsMut<Node>> Clone for NodeList<T>

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy + AsMut<Node>> Copy for NodeList<T>

impl<T: AsMut<Node>> Default for NodeList<T>

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<T> !Send for NodeList<T>

impl<T> !Sync for NodeList<T>