[][src]Struct generic_graph::adjacency_list::elements::DirectedEdge

pub struct DirectedEdge<K, W> where
    K: Hash + Eq + Clone,
    W: Sum + Eq + Ord + Copy
{ /* fields omitted */ }

Methods

impl<K: Hash + Eq + Clone, W: Sum + Eq + Ord + Copy> DirectedEdge<K, W>[src]

pub fn new(left: K, right: K, weight: W) -> DirectedEdge<K, W>[src]

Trait Implementations

impl<K: Clone, W: Clone> Clone for DirectedEdge<K, W> where
    K: Hash + Eq + Clone,
    W: Sum + Eq + Ord + Copy
[src]

impl<K: Debug, W: Debug> Debug for DirectedEdge<K, W> where
    K: Hash + Eq + Clone,
    W: Sum + Eq + Ord + Copy
[src]

impl<K: Hash + Eq + Clone, V, W: Sum + Eq + Ord + Copy> DirectedGraph<SimpleVertex<K, V>, DirectedEdge<K, W>, K, V, W, CompoundKey<K>> for AdjacencyGraph<K, V, W>[src]

impl<K: Hash + Eq + Clone, W: Sum + Eq + Ord + Copy> Edge<K, W, CompoundKey<K>> for DirectedEdge<K, W>[src]

impl<K: Eq, W: Eq> Eq for DirectedEdge<K, W> where
    K: Hash + Eq + Clone,
    W: Sum + Eq + Ord + Copy
[src]

impl<K: PartialEq, W: PartialEq> PartialEq<DirectedEdge<K, W>> for DirectedEdge<K, W> where
    K: Hash + Eq + Clone,
    W: Sum + Eq + Ord + Copy
[src]

impl<K, W> StructuralEq for DirectedEdge<K, W> where
    K: Hash + Eq + Clone,
    W: Sum + Eq + Ord + Copy
[src]

impl<K, W> StructuralPartialEq for DirectedEdge<K, W> where
    K: Hash + Eq + Clone,
    W: Sum + Eq + Ord + Copy
[src]

Auto Trait Implementations

impl<K, W> RefUnwindSafe for DirectedEdge<K, W> where
    K: RefUnwindSafe,
    W: RefUnwindSafe

impl<K, W> Send for DirectedEdge<K, W> where
    K: Send,
    W: Send

impl<K, W> Sync for DirectedEdge<K, W> where
    K: Sync,
    W: Sync

impl<K, W> Unpin for DirectedEdge<K, W> where
    K: Unpin,
    W: Unpin

impl<K, W> UnwindSafe for DirectedEdge<K, W> where
    K: UnwindSafe,
    W: 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.