Trait graphene::core::GraphWrapper [] [src]

pub trait GraphWrapper where
    <Self::Wrapped as BaseGraph>::Vertex: Vertex,
    <Self::Wrapped as BaseGraph>::Weight: Weight,
    <<Self::Wrapped as BaseGraph>::VertexIter as IntoIterator>::IntoIter: ExactSizeIterator,
    <<Self::Wrapped as BaseGraph>::EdgeIter as IntoIterator>::IntoIter: ExactSizeIterator
{ type Wrapped: ConstrainedGraph; fn wrap(g: Self::Wrapped) -> Self;
fn wrapped(&self) -> &Self::Wrapped;
fn wrapped_mut(&mut self) -> &mut Self::Wrapped;
fn unwrap(self) -> Self::Wrapped; }

Defines a type that wraps a ConstrainedGraph.

Associated Types

Required Methods

Implementors