Struct graphalgos::graphs::Vertex
source · pub struct Vertex {
pub label: String,
pub value: f64,
}
Expand description
Vertex Structure
The structure of the vertex
A vertex has a label and a value
Label is a string and value is f64
Fields§
§label: String
§value: f64
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
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