Struct fera_graph::arbitrary::GnWithVertexProp
source · pub struct GnWithVertexProp<G, T>(pub G, pub DefaultVertexPropMut<G, T>)
where
G: WithVertexProp<T>,
DefaultVertexPropMut<G, T>: Debug + Clone;
Expand description
A wrapper to create arbitrary graphs with a vertex property using WithBuilder::new_gn
.
Tuple Fields
0: G
1: DefaultVertexPropMut<G, T>
Trait Implementations
sourceimpl<G, T> Arbitrary for GnWithVertexProp<G, T>where
G: Clone + Send + 'static + VertexList + EdgeList + WithBuilder,
G::Kind: UniformEdgeKind,
G: WithVertexProp<T>,
DefaultVertexPropMut<G, T>: Debug + Clone + Send + 'static,
T: Arbitrary + Default + Clone,
impl<G, T> Arbitrary for GnWithVertexProp<G, T>where
G: Clone + Send + 'static + VertexList + EdgeList + WithBuilder,
G::Kind: UniformEdgeKind,
G: WithVertexProp<T>,
DefaultVertexPropMut<G, T>: Debug + Clone + Send + 'static,
T: Arbitrary + Default + Clone,
sourceimpl<G: Clone, T: Clone> Clone for GnWithVertexProp<G, T>where
G: WithVertexProp<T>,
DefaultVertexPropMut<G, T>: Debug + Clone,
impl<G: Clone, T: Clone> Clone for GnWithVertexProp<G, T>where
G: WithVertexProp<T>,
DefaultVertexPropMut<G, T>: Debug + Clone,
sourcefn clone(&self) -> GnWithVertexProp<G, T>
fn clone(&self) -> GnWithVertexProp<G, T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<G: Debug, T: Debug> Debug for GnWithVertexProp<G, T>where
G: WithVertexProp<T>,
DefaultVertexPropMut<G, T>: Debug + Clone,
impl<G: Debug, T: Debug> Debug for GnWithVertexProp<G, T>where
G: WithVertexProp<T>,
DefaultVertexPropMut<G, T>: Debug + Clone,
Auto Trait Implementations
impl<G, T> RefUnwindSafe for GnWithVertexProp<G, T>where
G: RefUnwindSafe,
<G as WithVertexProp<T>>::VertexProp: RefUnwindSafe,
impl<G, T> Send for GnWithVertexProp<G, T>where
G: Send,
<G as WithVertexProp<T>>::VertexProp: Send,
impl<G, T> Sync for GnWithVertexProp<G, T>where
G: Sync,
<G as WithVertexProp<T>>::VertexProp: Sync,
impl<G, T> Unpin for GnWithVertexProp<G, T>where
G: Unpin,
<G as WithVertexProp<T>>::VertexProp: Unpin,
impl<G, T> UnwindSafe for GnWithVertexProp<G, T>where
G: UnwindSafe,
<G as WithVertexProp<T>>::VertexProp: UnwindSafe,
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