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]
impl<E> Edge<E>
pub fn source(&self) -> NodeIndex
[src]
pub fn source(&self) -> NodeIndex
pub fn target(&self) -> NodeIndex
[src]
pub fn target(&self) -> NodeIndex
pub fn source_or_target(&self, direction: Direction) -> NodeIndex
[src]
pub fn source_or_target(&self, direction: Direction) -> NodeIndex
Trait Implementations
impl<E: Debug> Debug for Edge<E>
[src]
impl<E: Debug> Debug for Edge<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<N> SnapshotVecDelegate for Edge<N>
[src]
impl<N> SnapshotVecDelegate for Edge<N>