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
impl<A, B: NextNode> NextNode for Node<A, B>
[src]
impl<A, B: NextNode> StructuralPartialEq for Node<A, B>
[src]
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Node<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Node<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for Node<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> Unpin for Node<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for Node<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,