[−][src]Struct rs_graph::attributed::GraphAttrs
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]
G: IndexGraph<'a>,
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]
G: IndexGraph<'a>,
impl<'a, G, Gx, Nx, Ex> DerefMut for GraphAttrs<'a, G, Gx, Nx, Ex> where
G: IndexGraph<'a>,
[src]
G: IndexGraph<'a>,
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,
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>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,