Struct rs_graph::attributed::GraphAttrs
source · pub struct GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: 'a + Graph<'a>,
Gx: 'a,
Nx: 'a,
Ex: 'a,
Ax: 'a,{ /* private fields */ }
Expand description
Accessor for graph attributes.
Trait Implementations
sourceimpl<'a, G, Gx, Nx, Ex, Ax> Attributes for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexGraph<'a>,
impl<'a, G, Gx, Nx, Ex, Ax> Attributes for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexGraph<'a>,
sourceimpl<'a, G, Gx, Nx, Ex, Ax> Deref for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexGraph<'a>,
impl<'a, G, Gx, Nx, Ex, Ax> Deref for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexGraph<'a>,
sourceimpl<'a, G, Gx, Nx, Ex, Ax> DerefMut for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexGraph<'a>,
impl<'a, G, Gx, Nx, Ex, Ax> DerefMut for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexGraph<'a>,
sourceimpl<'a, G, Gx, Nx, Ex, Ax> NetworkAttributes for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexNetwork<'a>,
impl<'a, G, Gx, Nx, Ex, Ax> NetworkAttributes for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
G: IndexNetwork<'a>,
type BiEdgeAttr = Ax
type BiEdgeAttr = Ax
Type of biedge attributes.
sourcefn biedge(&self, e: Self::Edge) -> &Self::BiEdgeAttr
fn biedge(&self, e: Self::Edge) -> &Self::BiEdgeAttr
Return the attributes of a biedge.
sourcefn biedge_mut(&mut self, e: Self::Edge) -> &mut Self::BiEdgeAttr
fn biedge_mut(&mut self, e: Self::Edge) -> &mut Self::BiEdgeAttr
Return the attributes of a biedge.
Auto Trait Implementations
impl<'a, G, Gx, Nx, Ex, Ax> RefUnwindSafe for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
Ax: RefUnwindSafe,
Ex: RefUnwindSafe,
G: RefUnwindSafe,
Gx: RefUnwindSafe,
Nx: RefUnwindSafe,
impl<'a, G, Gx, Nx, Ex, Ax> Send for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
Ax: Send,
Ex: Send,
G: Sync,
Gx: Send,
Nx: Send,
impl<'a, G, Gx, Nx, Ex, Ax> Sync for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>where
Ax: Sync,
Ex: Sync,
G: Sync,
Gx: Sync,
Nx: Sync,
impl<'a, G, Gx, Nx, Ex, Ax> Unpin for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>
impl<'a, G, Gx, Nx, Ex, Ax> !UnwindSafe for GraphAttrs<'a, G, Gx, Nx, Ex, Ax>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more