Trait flow_arena::Node [−][src]
pub trait Node<Id> { fn id(&self) -> &Id; fn parent(&self) -> Option<Id>; fn parent_set(&mut self, id: Id); fn parent_set_none(&mut self); fn children(&self) -> Vec<Id>; fn children_ref_mut(&mut self) -> &mut Vec<Id>; }
Required methods
fn id(&self) -> &Id
[src]
fn parent(&self) -> Option<Id>
[src]
fn parent_set(&mut self, id: Id)
[src]
fn parent_set_none(&mut self)
[src]
fn children(&self) -> Vec<Id>
[src]
fn children_ref_mut(&mut self) -> &mut Vec<Id>
[src]
Implementors
impl<Id, Entity> Node<Id> for FlowNode<Id, Entity> where
Id: Clone,
[src]
Id: Clone,
fn id(&self) -> &Id
[src]
fn parent(&self) -> Option<Id>
[src]
fn parent_set(&mut self, id: Id)
[src]
fn parent_set_none(&mut self)
[src]
fn children(&self) -> Vec<Id>
[src]
fn children_ref_mut(&mut self) -> &mut Vec<Id>
[src]
impl<Id, Entity> Node<Id> for GraphNode<Id, Entity> where
Id: Debug + Clone,
Entity: Debug,
[src]
Id: Debug + Clone,
Entity: Debug,