FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SankeyNode

    struct · ferroui-livecharts · v0.5.0

    struct SankeyNode
    

    A node of a Sankey diagram (Defaults/SankeyNode): its label and, in place of the source's NodeColorMapper, an optional colour of its own. Its value is computed by the layout.

    View source

    Members

    id

    id: u64
    

    Source

    name

    name: String
    

    Source

    color

    color: Option<ferroui_base::media::Color>
    

    Source

    new

    fn new(id: u64, name: impl Into<String>) -> Self
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.