Trait flow_arena::FlowLink [−][src]
pub trait FlowLink: FlowBase + FlowCheck { fn link(
&mut self,
obj: &Self::Id,
owner: &Self::Id,
nth: usize
) -> Result<(), FlowError> { ... } fn link_push(
&mut self,
obj: &Self::Id,
owner: &Self::Id
) -> Result<(), FlowError> { ... } fn detach(
&mut self,
obj: &Self::Id,
owner: &Self::Id
) -> Result<(), FlowError> { ... } }
provides ability to link nodes; graph-ish
Provided methods
fn link(
&mut self,
obj: &Self::Id,
owner: &Self::Id,
nth: usize
) -> Result<(), FlowError>
[src]
&mut self,
obj: &Self::Id,
owner: &Self::Id,
nth: usize
) -> Result<(), FlowError>
randomly ensures the link of a node to another; won’t change if aleady has the node as child
fn link_push(
&mut self,
obj: &Self::Id,
owner: &Self::Id
) -> Result<(), FlowError>
[src]
&mut self,
obj: &Self::Id,
owner: &Self::Id
) -> Result<(), FlowError>
fn detach(&mut self, obj: &Self::Id, owner: &Self::Id) -> Result<(), FlowError>
[src]
detaches a node from a non-owner link
Implementors
Loading content...