#[non_exhaustive]pub struct SankeyNode {
pub rect: Rect,
pub value: f64,
pub column: usize,
pub incoming: Vec<usize>,
pub outgoing: Vec<usize>,
}Expand description
A node as it landed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rect: RectWhere it is.
value: f64The larger of what comes in and what goes out.
column: usizeWhich column.
incoming: Vec<usize>The flows coming in, as places in SankeyLayout::flows.
outgoing: Vec<usize>The flows going out.
Trait Implementations§
Source§impl Clone for SankeyNode
impl Clone for SankeyNode
Source§fn clone(&self) -> SankeyNode
fn clone(&self) -> SankeyNode
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 moreSource§impl Debug for SankeyNode
impl Debug for SankeyNode
Source§impl PartialEq for SankeyNode
impl PartialEq for SankeyNode
impl StructuralPartialEq for SankeyNode
Auto Trait Implementations§
impl Freeze for SankeyNode
impl RefUnwindSafe for SankeyNode
impl Send for SankeyNode
impl Sync for SankeyNode
impl Unpin for SankeyNode
impl UnsafeUnpin for SankeyNode
impl UnwindSafe for SankeyNode
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