pub struct WeightedGraph4 {
pub weights: [[f64; 4]; 4],
}Expand description
Fixed 4-node undirected weighted graph used by the #158 fixtures.
Fields§
§weights: [[f64; 4]; 4]Implementations§
Trait Implementations§
Source§impl Clone for WeightedGraph4
impl Clone for WeightedGraph4
Source§fn clone(&self) -> WeightedGraph4
fn clone(&self) -> WeightedGraph4
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WeightedGraph4
Source§impl Debug for WeightedGraph4
impl Debug for WeightedGraph4
Source§impl PartialEq for WeightedGraph4
impl PartialEq for WeightedGraph4
Source§fn eq(&self, other: &WeightedGraph4) -> bool
fn eq(&self, other: &WeightedGraph4) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WeightedGraph4
Auto Trait Implementations§
impl Freeze for WeightedGraph4
impl RefUnwindSafe for WeightedGraph4
impl Send for WeightedGraph4
impl Sync for WeightedGraph4
impl Unpin for WeightedGraph4
impl UnsafeUnpin for WeightedGraph4
impl UnwindSafe for WeightedGraph4
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