Enum branded_graph::Node
source · pub enum Node<'id> {
Number(i64),
Add(NodeRef<'id>, NodeRef<'id>),
}
Expand description
A node in the graph with lifetime 'id
.
This is a very minimal set of expression kinds, but can be extended.
Variants§
Trait Implementations§
source§impl<'id> PartialEq<Node<'id>> for Node<'id>
impl<'id> PartialEq<Node<'id>> for Node<'id>
impl<'id> Eq for Node<'id>
impl<'id> StructuralEq for Node<'id>
impl<'id> StructuralPartialEq for Node<'id>
Auto Trait Implementations§
impl<'id> RefUnwindSafe for Node<'id>
impl<'id> Send for Node<'id>
impl<'id> Sync for Node<'id>
impl<'id> Unpin for Node<'id>
impl<'id> UnwindSafe for Node<'id>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more