pub struct WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>where
EdgeStorageType: WeightedEdgeManipulate,
VertexStorageType: StoreVertex<VertexType = VertexType>,{
pub graph: Graph<VertexType, VertexStorageType, EdgeStorageType>,
}Fields§
§graph: Graph<VertexType, VertexStorageType, EdgeStorageType>Implementations§
Source§impl<VertexType> WeightedGraph<VertexType, VertexStorage<VertexType>, EdgeStorage>
impl<VertexType> WeightedGraph<VertexType, VertexStorage<VertexType>, EdgeStorage>
Source§impl<VertexType, StoreVertexType, EdgeStorageType> WeightedGraph<VertexType, StoreVertexType, EdgeStorageType>where
EdgeStorageType: WeightedEdgeManipulate,
StoreVertexType: StoreVertex<VertexType = VertexType>,
impl<VertexType, StoreVertexType, EdgeStorageType> WeightedGraph<VertexType, StoreVertexType, EdgeStorageType>where
EdgeStorageType: WeightedEdgeManipulate,
StoreVertexType: StoreVertex<VertexType = VertexType>,
Trait Implementations§
Source§impl<VertexType, VertexStorageType, EdgeStorageType> Clone for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>where
EdgeStorageType: WeightedEdgeManipulate,
VertexType: Clone,
VertexStorageType: StoreVertex<VertexType = VertexType> + Clone,
impl<VertexType, VertexStorageType, EdgeStorageType> Clone for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>where
EdgeStorageType: WeightedEdgeManipulate,
VertexType: Clone,
VertexStorageType: StoreVertex<VertexType = VertexType> + Clone,
Source§impl<VertexType> Default for WeightedGraph<VertexType, VertexStorage<VertexType>, EdgeStorage>
impl<VertexType> Default for WeightedGraph<VertexType, VertexStorage<VertexType>, EdgeStorage>
Auto Trait Implementations§
impl<VertexType, VertexStorageType, EdgeStorageType> Freeze for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>
impl<VertexType, VertexStorageType, EdgeStorageType> RefUnwindSafe for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>where
VertexStorageType: RefUnwindSafe,
EdgeStorageType: RefUnwindSafe,
impl<VertexType, VertexStorageType, EdgeStorageType> Send for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>
impl<VertexType, VertexStorageType, EdgeStorageType> Sync for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>
impl<VertexType, VertexStorageType, EdgeStorageType> Unpin for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>
impl<VertexType, VertexStorageType, EdgeStorageType> UnwindSafe for WeightedGraph<VertexType, VertexStorageType, EdgeStorageType>where
VertexStorageType: UnwindSafe,
EdgeStorageType: UnwindSafe,
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