pub struct SankeyLink {
pub source: usize,
pub target: usize,
pub value: f64,
}Expand description
A flow from one node to another, given by their places in the list of nodes.
Fields§
§source: usizeWhere it comes from.
target: usizeWhere it goes.
value: f64How much. One that is not above zero has no ribbon, and does not count.
Trait Implementations§
Source§impl Clone for SankeyLink
impl Clone for SankeyLink
Source§fn clone(&self) -> SankeyLink
fn clone(&self) -> SankeyLink
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 moreimpl Copy for SankeyLink
Source§impl Debug for SankeyLink
impl Debug for SankeyLink
Source§impl PartialEq for SankeyLink
impl PartialEq for SankeyLink
impl StructuralPartialEq for SankeyLink
Auto Trait Implementations§
impl Freeze for SankeyLink
impl RefUnwindSafe for SankeyLink
impl Send for SankeyLink
impl Sync for SankeyLink
impl Unpin for SankeyLink
impl UnsafeUnpin for SankeyLink
impl UnwindSafe for SankeyLink
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