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

randomly ensures the link of a node to another; won’t change if aleady has the node as child

fn detach(&mut self, obj: &Self::Id, owner: &Self::Id) -> Result<(), FlowError>[src]

detaches a node from a non-owner link

Loading content...

Implementors

Loading content...