[][src]Struct gt_graph_path::GraphPath

pub struct GraphPath<'a, G: Graph> { /* fields omitted */ }

Methods

impl<'a, G: Graph> GraphPath<'a, G>[src]

pub fn new(graph: &'a G) -> Self[src]

pub fn new_with_initial_size(graph: &'a G, size: usize) -> Self[src]

pub fn from_vec(graph: &'a G, src: Vec<G::Node>) -> Self[src]

pub fn push_back(&mut self, n: G::Node)[src]

pub fn inner_path(&self) -> &Vec<G::Node>[src]

pub fn inner_path_mut(&mut self) -> &mut Vec<G::Node>[src]

impl<'a, N, D, G> GraphPath<'a, G> where
    N: Copy + PartialEq,
    D: Copy + InterChangeUsize,
    G: Graph<Node = N, Dims = D>, 
[src]

pub fn is_valid(&self) -> bool[src]

Trait Implementations

impl<'a, G: Clone + Graph> Clone for GraphPath<'a, G> where
    G::Node: Clone
[src]

impl<'a, G, N> PartialEq<GraphPath<'a, G>> for GraphPath<'a, G> where
    N: PartialEq,
    G: Graph<Node = N>, 
[src]

impl<'a, G, N, D> Debug for GraphPath<'a, G> where
    N: PartialEq + Binary,
    D: InterChangeUsize,
    G: Graph<Node = N, Dims = D>, 
[src]

Auto Trait Implementations

impl<'a, G> Send for GraphPath<'a, G> where
    G: Sync,
    <G as Graph>::Node: Send

impl<'a, G> Sync for GraphPath<'a, G> where
    G: Sync,
    <G as Graph>::Node: Sync

impl<'a, G> Unpin for GraphPath<'a, G> where
    <G as Graph>::Node: Unpin

impl<'a, G> UnwindSafe for GraphPath<'a, G> where
    G: RefUnwindSafe,
    <G as Graph>::Node: UnwindSafe

impl<'a, G> RefUnwindSafe for GraphPath<'a, G> where
    G: RefUnwindSafe,
    <G as Graph>::Node: RefUnwindSafe

Blanket Implementations

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 = !

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]