Struct rustc_data_structures::graph::Edge
[−]
[src]
pub struct Edge<E> {
pub data: E,
// some fields omitted
}Fields
data: E
Methods
impl<E> Edge<E>[src]
pub fn source(&self) -> NodeIndex[src]
pub fn target(&self) -> NodeIndex[src]
pub fn source_or_target(&self, direction: Direction) -> NodeIndex[src]
Trait Implementations
impl<E: Debug> Debug for Edge<E>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more