pub struct GraphEdgeInfo {
pub from_rank: usize,
pub to_rank: usize,
pub weight: i32,
}Expand description
A directed edge in the POA graph, as returned by [PoaGraph::graph_topology].
Fields§
§from_rank: usizeTopological rank of the source node.
to_rank: usizeTopological rank of the target node.
weight: i32Number of reads that traversed this edge.
Trait Implementations§
Source§impl Clone for GraphEdgeInfo
impl Clone for GraphEdgeInfo
Source§fn clone(&self) -> GraphEdgeInfo
fn clone(&self) -> GraphEdgeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphEdgeInfo
impl RefUnwindSafe for GraphEdgeInfo
impl Send for GraphEdgeInfo
impl Sync for GraphEdgeInfo
impl Unpin for GraphEdgeInfo
impl UnsafeUnpin for GraphEdgeInfo
impl UnwindSafe for GraphEdgeInfo
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