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) -> NodeIndexpub fn target(&self) -> NodeIndex[src]
pub fn target(&self) -> NodeIndexpub fn source_or_target(&self, direction: Direction) -> NodeIndex[src]
pub fn source_or_target(&self, direction: Direction) -> NodeIndexTrait 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) -> ResultFormats the value using the given formatter. Read more
impl<N> SnapshotVecDelegate for Edge<N>[src]
impl<N> SnapshotVecDelegate for Edge<N>