[][src]Struct rs_graph::linkedlistgraph::LinkedListGraph

pub struct LinkedListGraph<ID = u32, N = (), E = ()> { /* fields omitted */ }

The linked list based graph data structure.

Methods

impl<ID, N, E> LinkedListGraph<ID, N, E> where
    ID: PrimInt + Unsigned
[src]

pub fn new() -> LinkedListGraph<ID, N, E>[src]

Trait Implementations

impl<ID, N, E> Buildable for LinkedListGraph<ID, N, E> where
    ID: PrimInt + Unsigned,
    N: Default,
    E: Default
[src]

type Builder = LinkedListGraphBuilder<ID, N, E>

impl<ID, N, E> Default for LinkedListGraph<ID, N, E> where
    ID: PrimInt + Unsigned
[src]

impl<'de, ID, N, E> Deserialize<'de> for LinkedListGraph<ID, N, E> where
    ID: Deserialize<'de>,
    N: Deserialize<'de>,
    E: Deserialize<'de>, 
[src]

impl<'a, ID, N: 'a, E: 'a> Directed<'a> for LinkedListGraph<ID, N, E> where
    ID: 'a + PrimInt + Unsigned
[src]

type OutEdge = OutEdge<ID>

Type of a graph iterator over edges leaving a node.

type InEdge = InEdge<ID>

Type of a graph iterator over edges entering a node.

type IncidentEdge = IncidentEdge<ID>

Type of an iterator over all incident edges.

type DirectedEdge = Self::Edge

Type of a directed edge.

impl<'a, ID, N: 'a, E: 'a> EdgeAttributes<'a, LinkedListGraph<ID, N, E>, E> for LinkedListGraph<ID, N, E> where
    ID: 'a + PrimInt + Unsigned
[src]

impl<'a, ID, N, E> GraphSize<'a> for LinkedListGraph<ID, N, E> where
    ID: 'a + PrimInt + Unsigned
[src]

type NodeIter = NodeIter<ID>

Type of an iterator over all nodes.

type EdgeIter = EdgeIter<ID>

Type of an iterator over all edges.

impl<'a, ID, N, E> GraphType<'a> for LinkedListGraph<ID, N, E> where
    ID: 'a + PrimInt + Unsigned
[src]

type Node = Node<ID>

Type of a node.

type Edge = Edge<ID>

Type of an edge.

impl<'a, ID, N: 'a, E: 'a> IndexGraph<'a> for LinkedListGraph<ID, N, E> where
    ID: 'a + PrimInt + Unsigned
[src]

impl<'a, ID, N: 'a, E: 'a> NodeAttributes<'a, LinkedListGraph<ID, N, E>, N> for LinkedListGraph<ID, N, E> where
    ID: 'a + PrimInt + Unsigned
[src]

impl<ID, N, E> Serialize for LinkedListGraph<ID, N, E> where
    ID: Serialize,
    N: Serialize,
    E: Serialize
[src]

impl<'a, ID, N: 'a, E: 'a> Undirected<'a> for LinkedListGraph<ID, N, E> where
    ID: 'a + PrimInt + Unsigned
[src]

type Neigh = Neigh<ID>

Type of a graph iterator over all incident edges.

Auto Trait Implementations

impl<ID, N, E> RefUnwindSafe for LinkedListGraph<ID, N, E> where
    E: RefUnwindSafe,
    ID: RefUnwindSafe,
    N: RefUnwindSafe

impl<ID, N, E> Send for LinkedListGraph<ID, N, E> where
    E: Send,
    ID: Send,
    N: Send

impl<ID, N, E> Sync for LinkedListGraph<ID, N, E> where
    E: Sync,
    ID: Sync,
    N: Sync

impl<ID, N, E> Unpin for LinkedListGraph<ID, N, E> where
    E: Unpin,
    ID: Unpin,
    N: Unpin

impl<ID, N, E> UnwindSafe for LinkedListGraph<ID, N, E> where
    E: UnwindSafe,
    ID: UnwindSafe,
    N: 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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<'a, G> Digraph<'a> for G where
    G: GraphSize<'a> + Directed<'a>, 
[src]

impl<T> From<T> for T[src]

impl<'a, G> Graph<'a> for G where
    G: GraphSize<'a> + Undirected<'a>, 
[src]

impl<'a, T> IndexDigraph<'a> for T where
    T: IndexGraph<'a> + Digraph<'a>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, G> NumberedDigraph<'a> for G where
    G: Digraph<'a> + NumberedGraph<'a>,
    <G as GraphType<'a>>::Node: Indexable,
    <G as GraphType<'a>>::Edge: Indexable
[src]

impl<'a, G> NumberedGraph<'a> for G where
    G: Graph<'a>,
    <G as GraphType<'a>>::Node: Indexable,
    <G as GraphType<'a>>::Edge: Indexable
[src]

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.