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
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
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
type GraphAttr = Gx👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Type of graph attributes.
type NodeAttr = Nx
type NodeAttr = Nx👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Type of node attributes.
type EdgeAttr = Ex
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(&self) -> &Self::GraphAttr[src]👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Return the graph attributes.
fn attr_mut(&mut self) -> &mut Self::GraphAttr[src]
fn attr_mut(&mut self) -> &mut Self::GraphAttr[src]👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Return the graph attributes.
fn node(&self, u: Self::Node) -> &Self::NodeAttr[src]
fn node(&self, u: Self::Node) -> &Self::NodeAttr[src]👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Return the attributes of a node.
fn node_mut(&mut self, u: Self::Node) -> &mut Self::NodeAttr[src]
fn node_mut(&mut self, u: Self::Node) -> &mut Self::NodeAttr[src]👎 Deprecated since 0.17.0:
use rs-graph-derive crate instead
Return the attributes of a node.
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,
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,
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,
Ex: Sync,
G: Sync,
Gx: Sync,
Nx: Sync,