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 Freeze for Vertex
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