Bounds
struct · ferroui-livecharts · v0.5.0
struct Bounds
Extrema and spacing metadata accumulated while measuring a series.
Members
is_emptyminmaxpadding_minpadding_maxrequested_geometry_sizemin_deltanewdeltaappend_valueappend_bounds
is_empty
is_empty: bool
min
min: f64
max
max: f64
padding_min
padding_min: f64
padding_max
padding_max: f64
requested_geometry_size
requested_geometry_size: f64
min_delta
min_delta: f64
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.
delta
fn delta(self: &Self) -> f64
append_value
fn append_value(self: &mut Self, value: f64)
append_bounds
fn append_bounds(self: &mut Self, other: &Self)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.