pub struct GnConnectedWithEdgeProp<G, T>(pub G, pub DefaultEdgePropMut<G, T>)
where
G: WithEdgeProp<T>,
DefaultEdgePropMut<G, T>: Debug + Clone;Expand description
A wrapper to create arbitrary graphs with an edge property using
WithBuilder::new_gn_connected.
Tuple Fields§
§0: G§1: DefaultEdgePropMut<G, T>Trait Implementations§
Source§impl<G, T> Arbitrary for GnConnectedWithEdgeProp<G, T>where
G: Clone + Send + 'static + VertexList + EdgeList + WithBuilder + WithEdgeProp<T>,
G::Kind: UniformEdgeKind,
DefaultEdgePropMut<G, T>: Debug + Clone + Send + 'static,
T: Arbitrary + Default + Clone,
impl<G, T> Arbitrary for GnConnectedWithEdgeProp<G, T>where
G: Clone + Send + 'static + VertexList + EdgeList + WithBuilder + WithEdgeProp<T>,
G::Kind: UniformEdgeKind,
DefaultEdgePropMut<G, T>: Debug + Clone + Send + 'static,
T: Arbitrary + Default + Clone,
Source§impl<G, T: Clone> Clone for GnConnectedWithEdgeProp<G, T>
impl<G, T: Clone> Clone for GnConnectedWithEdgeProp<G, T>
Source§fn clone(&self) -> GnConnectedWithEdgeProp<G, T>
fn clone(&self) -> GnConnectedWithEdgeProp<G, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<G, T> Freeze for GnConnectedWithEdgeProp<G, T>
impl<G, T> RefUnwindSafe for GnConnectedWithEdgeProp<G, T>
impl<G, T> Send for GnConnectedWithEdgeProp<G, T>
impl<G, T> Sync for GnConnectedWithEdgeProp<G, T>
impl<G, T> Unpin for GnConnectedWithEdgeProp<G, T>
impl<G, T> UnwindSafe for GnConnectedWithEdgeProp<G, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more