FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Bounds

    struct · ferroui-livecharts · v0.5.0

    struct Bounds
    

    Extrema and spacing metadata accumulated while measuring a series.

    View source

    Members

    is_empty

    is_empty: bool
    

    Source

    min

    min: f64
    

    Source

    max

    max: f64
    

    Source

    padding_min

    padding_min: f64
    

    Source

    padding_max

    padding_max: f64
    

    Source

    requested_geometry_size

    requested_geometry_size: f64
    

    Source

    min_delta

    min_delta: f64
    

    Source

    new

    fn new(min: f64, max: f64) -> Self
    

    Initializes the extrema; emptiness remains set until data is appended, matching the source constructor's distinction between limits and data.

    Source

    delta

    fn delta(self: &Self) -> f64
    

    Source

    append_value

    fn append_value(self: &mut Self, value: f64)
    

    Source

    append_bounds

    fn append_bounds(self: &mut Self, other: &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
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

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