Struct floyd_warshall::Path [] [src]

pub struct Path<T> { /* fields omitted */ }

This represents a sequence of nodes. The length is also saved, and when exists = false, this means "there is no path".

Methods

impl<T> Path<T>
[src]

[src]

Returns the intermediate nodes on this path as a slice.

[src]

Returns an iterator of the intermediat enodes on this path.

[src]

Returns the length of this path.

[src]

Has this path finite length?

Trait Implementations

impl<T: Clone> Clone for Path<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 Path<T>
[src]

[src]

Formats the value using the given formatter.

impl<T> AsRef<Vec<T>> for Path<T>
[src]

[src]

Performs the conversion.

impl<T> Default for Path<T>
[src]

[src]

Returns the "default value" for a type. Read more