[−][src]Struct gt_graph_path::GraphPath
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]
N: Copy + PartialEq,
D: Copy + InterChangeUsize,
G: Graph<Node = N, Dims = D>,
Trait Implementations
impl<'a, G: Clone + Graph> Clone for GraphPath<'a, G> where
G::Node: Clone,
[src]
G::Node: Clone,
impl<'a, G, N> PartialEq<GraphPath<'a, G>> for GraphPath<'a, G> where
N: PartialEq,
G: Graph<Node = N>,
[src]
N: PartialEq,
G: Graph<Node = N>,
impl<'a, G, N, D> Debug for GraphPath<'a, G> where
N: PartialEq + Binary,
D: InterChangeUsize,
G: Graph<Node = N, Dims = D>,
[src]
N: PartialEq + Binary,
D: InterChangeUsize,
G: Graph<Node = N, Dims = D>,
Auto Trait Implementations
impl<'a, G> Send for GraphPath<'a, G> where
G: Sync,
<G as Graph>::Node: Send,
G: Sync,
<G as Graph>::Node: Send,
impl<'a, G> Sync for GraphPath<'a, G> where
G: Sync,
<G as Graph>::Node: Sync,
G: Sync,
<G as Graph>::Node: Sync,
impl<'a, G> Unpin for GraphPath<'a, G> where
<G as Graph>::Node: Unpin,
<G as Graph>::Node: Unpin,
impl<'a, G> UnwindSafe for GraphPath<'a, G> where
G: RefUnwindSafe,
<G as Graph>::Node: UnwindSafe,
G: RefUnwindSafe,
<G as Graph>::Node: UnwindSafe,
impl<'a, G> RefUnwindSafe for GraphPath<'a, G> where
G: RefUnwindSafe,
<G as Graph>::Node: RefUnwindSafe,
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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,