Struct rs_graph::attributed::GraphAttrs [−][src]
pub struct GraphAttrs<'a, G, Gx, Nx, Ex> where
G: 'a + GraphType<'a>,
Gx: 'a,
Nx: 'a,
Ex: 'a, { /* fields omitted */ }👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Accessor for graph attributes.
Trait Implementations
impl<'a, G, Gx, Nx, Ex> Attributes for GraphAttrs<'a, G, Gx, Nx, Ex> where
G: IndexGraph<'a>, [src]
impl<'a, G, Gx, Nx, Ex> Attributes for GraphAttrs<'a, G, Gx, Nx, Ex> where
G: IndexGraph<'a>, [src]type Node = G::Node
👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Type of nodes of the associated graph.
type Edge = G::Edge
👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Type of edges of the associated graph.
type GraphAttr = Gx
👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Type of graph attributes.
type NodeAttr = Nx
👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Type of node attributes.
type EdgeAttr = Ex
👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Type of edge attributes.
fn attr(&self) -> &Self::GraphAttr[src]
fn attr_mut(&mut self) -> &mut Self::GraphAttr[src]
fn node(&self, u: Self::Node) -> &Self::NodeAttr[src]
fn node_mut(&mut self, u: Self::Node) -> &mut Self::NodeAttr[src]
fn edge(&self, e: Self::Edge) -> &Self::EdgeAttr[src]
fn edge_mut(&mut self, e: Self::Edge) -> &mut Self::EdgeAttr[src]
impl<'a, G, Gx, Nx, Ex> Deref for GraphAttrs<'a, G, Gx, Nx, Ex> where
G: IndexGraph<'a>, [src]
impl<'a, G, Gx, Nx, Ex> Deref for GraphAttrs<'a, G, Gx, Nx, Ex> where
G: IndexGraph<'a>, [src]impl<'a, G, Gx, Nx, Ex> DerefMut for GraphAttrs<'a, G, Gx, Nx, Ex> where
G: IndexGraph<'a>, [src]
impl<'a, G, Gx, Nx, Ex> DerefMut for GraphAttrs<'a, G, Gx, Nx, Ex> where
G: IndexGraph<'a>, [src]Auto Trait Implementations
impl<'a, G, Gx, Nx, Ex> RefUnwindSafe for GraphAttrs<'a, G, Gx, Nx, Ex> where
Ex: RefUnwindSafe,
G: RefUnwindSafe,
Gx: RefUnwindSafe,
Nx: RefUnwindSafe,
impl<'a, G, Gx, Nx, Ex> RefUnwindSafe for GraphAttrs<'a, G, Gx, Nx, Ex> where
Ex: RefUnwindSafe,
G: RefUnwindSafe,
Gx: RefUnwindSafe,
Nx: RefUnwindSafe, impl<'a, G, Gx, Nx, Ex> Send for GraphAttrs<'a, G, Gx, Nx, Ex> where
Ex: Send,
G: Sync,
Gx: Send,
Nx: Send,
impl<'a, G, Gx, Nx, Ex> Send for GraphAttrs<'a, G, Gx, Nx, Ex> where
Ex: Send,
G: Sync,
Gx: Send,
Nx: Send, impl<'a, G, Gx, Nx, Ex> Sync for GraphAttrs<'a, G, Gx, Nx, Ex> where
Ex: Sync,
G: Sync,
Gx: Sync,
Nx: Sync,
impl<'a, G, Gx, Nx, Ex> Sync for GraphAttrs<'a, G, Gx, Nx, Ex> where
Ex: Sync,
G: Sync,
Gx: Sync,
Nx: Sync, impl<'a, G, Gx, Nx, Ex> Unpin for GraphAttrs<'a, G, Gx, Nx, Ex>
impl<'a, G, Gx, Nx, Ex> Unpin for GraphAttrs<'a, G, Gx, Nx, Ex>impl<'a, G, Gx, Nx, Ex> !UnwindSafe for GraphAttrs<'a, G, Gx, Nx, Ex>
impl<'a, G, Gx, Nx, Ex> !UnwindSafe for GraphAttrs<'a, G, Gx, Nx, Ex>