Struct zero_v::Node [−][src]
pub struct Node<A, B: NextNode> { pub data: A, pub next: B, }
Expand description
Represents a collection of one or more objects.
Fields
data: A
The object held in this node
next: B
Next is any type implementing the NextNode trait. Typically this will be a node whose next field also implements NextNode (representing a collection of one or more nested node) or the unit type (representing an empty composite).
Implementations
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Node<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Node<A, B> where
A: UnwindSafe,
B: UnwindSafe,