FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreemapTile

    struct · ferroui-livecharts · v0.5.0

    struct TreemapTile
    

    One tile of a laid out series.

    View source

    Members

    node_index

    node_index: usize
    

    The preorder position of the node in its series, independent of the weight order.

    Source

    parent_index

    parent_index: Option<usize>
    

    Source

    name

    name: String
    

    Source

    value

    value: f64
    

    The resolved weight: the explicit value, or the sum of the children.

    Source

    is_leaf

    is_leaf: bool
    

    Source

    allocated_bounds

    allocated_bounds: ferroui_base::Rect
    

    The squarified rectangle of the node.

    Source

    bounds

    bounds: ferroui_base::Rect
    

    The rectangle inset by the padding, which the tile draws and its children divide.

    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.