Struct petgraph::csr::EdgeReference [] [src]

pub struct EdgeReference<'a, E: 'a, Ty, Ix: 'a = DefaultIx> { /* fields omitted */ }

Methods

impl<'a, Ty, E, Ix> EdgeReference<'a, E, Ty, Ix> where
    Ty: EdgeType
[src]

[src]

Access the edge’s weight.

NOTE that this method offers a longer lifetime than the trait (unfortunately they don't match yet).

Trait Implementations

impl<'a, E: Debug + 'a, Ty: Debug, Ix: Debug + 'a> Debug for EdgeReference<'a, E, Ty, Ix>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a, E, Ty, Ix: Copy> Clone for EdgeReference<'a, E, Ty, Ix>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, E, Ty, Ix: Copy> Copy for EdgeReference<'a, E, Ty, Ix>
[src]

impl<'a, E, Ty, Ix> EdgeRef for EdgeReference<'a, E, Ty, Ix> where
    Ty: EdgeType,
    Ix: IndexType
[src]

[src]

The source node of the edge.

[src]

The target node of the edge.

[src]

A reference to the weight of the edge.

[src]

The edge’s identifier.