[][src]Trait rs_graph::attributed::NetworkAttributes

pub trait NetworkAttributes: Attributes {
    type BiEdgeAttr;
    fn biedge(&self, e: Self::Edge) -> &Self::BiEdgeAttr;
fn biedge_mut(&mut self, e: Self::Edge) -> &mut Self::BiEdgeAttr; }

This trait provides (mutable) access to the attributes of a network.

A structure implementing this trait is returned as the second value by the split method of an attributed network.

Associated Types

type BiEdgeAttr

Type of biedge attributes.

Loading content...

Required methods

fn biedge(&self, e: Self::Edge) -> &Self::BiEdgeAttr

Return the attributes of a biedge.

fn biedge_mut(&mut self, e: Self::Edge) -> &mut Self::BiEdgeAttr

Return the attributes of a biedge.

Loading content...

Implementors

impl<'a, G, Gx, Nx, Ex, Ax> NetworkAttributes for GraphAttrs<'a, G, Gx, Nx, Ex, Ax> where
    G: IndexNetwork<'a>, 
[src]

type BiEdgeAttr = Ax

Loading content...