pub struct EdgeEntry {
pub target_id: u64,
pub weight_fp: i32,
/* private fields */
}Expand description
Edge entry in an adjacency list.
Fields§
§target_id: u64Target node ID.
weight_fp: i32Edge weight (fixed-point: weight * 10000).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdgeEntry
impl RefUnwindSafe for EdgeEntry
impl Send for EdgeEntry
impl Sync for EdgeEntry
impl Unpin for EdgeEntry
impl UnsafeUnpin for EdgeEntry
impl UnwindSafe for EdgeEntry
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