[][src]Struct petgraph::algo::Cycle

pub struct Cycle<N>(_);

An algorithm error: a cycle was found in the graph.

Implementations

impl<N> Cycle<N>[src]

pub fn node_id(&self) -> N where
    N: Copy
[src]

Return a node id that participates in the cycle

Trait Implementations

impl<N: Clone> Clone for Cycle<N>[src]

impl<N: Debug> Debug for Cycle<N>[src]

impl<N: PartialEq> PartialEq<Cycle<N>> for Cycle<N>[src]

impl<N> StructuralPartialEq for Cycle<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Cycle<N> where
    N: RefUnwindSafe

impl<N> Send for Cycle<N> where
    N: Send

impl<N> Sync for Cycle<N> where
    N: Sync

impl<N> Unpin for Cycle<N> where
    N: Unpin

impl<N> UnwindSafe for Cycle<N> where
    N: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.