pub struct TreeNode {
pub node: GraphNode,
pub path_weight: f32,
pub distance: u32,
}Expand description
Tree node for traversal operations
Fields§
§node: GraphNodeThe graph node
path_weight: f32Cumulative path weight from root
distance: u32Distance from root
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnsafeUnpin for TreeNode
impl UnwindSafe for TreeNode
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