Struct topological_sort::DependencyLink [] [src]

pub struct DependencyLink<T> {
    pub prec: T,
    pub succ: T,
}

A link between two items in a sort.

Fields

The element which is depened upon by succ.

The element which depends on prec.

Trait Implementations

impl<T: Copy> Copy for DependencyLink<T>
[src]

impl<T: Clone> Clone for DependencyLink<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for DependencyLink<T>
[src]

[src]

Formats the value using the given formatter.

impl<T> From<(T, T)> for DependencyLink<T>
[src]

[src]

Performs the conversion.