pub struct GraphPath {
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub length: usize,
pub weight: f32,
}Fields§
§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>§length: usize§weight: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphPath
impl<'de> Deserialize<'de> for GraphPath
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphPath
impl RefUnwindSafe for GraphPath
impl Send for GraphPath
impl Sync for GraphPath
impl Unpin for GraphPath
impl UnwindSafe for GraphPath
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