[][src]Enum guppy::graph::DependencyDirection

pub enum DependencyDirection {
    Forward,
    Reverse,
}

The direction in which to follow dependencies.

Used by the _directed methods.

Variants

Forward

Dependencies from this package to other packages.

Reverse

Reverse dependencies from other packages to this one.

Methods

impl DependencyDirection[src]

pub fn opposite(&self) -> Self[src]

Returns the opposite direction to this one.

Trait Implementations

impl Clone for DependencyDirection[src]

impl Copy for DependencyDirection[src]

impl Eq for DependencyDirection[src]

impl PartialEq<DependencyDirection> for DependencyDirection[src]

impl Debug for DependencyDirection[src]

impl Hash for DependencyDirection[src]

impl StructuralPartialEq for DependencyDirection[src]

impl StructuralEq for DependencyDirection[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]