# Bounds

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/measure/struct-bounds/

**struct** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
struct Bounds
```

Extrema and spacing metadata accumulated while measuring a series.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L3)

## Members

- [`is_empty`](#struct_field-is_empty)
- [`min`](#struct_field-min)
- [`max`](#struct_field-max)
- [`padding_min`](#struct_field-padding_min)
- [`padding_max`](#struct_field-padding_max)
- [`requested_geometry_size`](#struct_field-requested_geometry_size)
- [`min_delta`](#struct_field-min_delta)
- [`new`](#function-new)
- [`delta`](#function-delta)
- [`append_value`](#function-append_value)
- [`append_bounds`](#function-append_bounds)

<a id="struct_field-is_empty"></a>

### is_empty

```rust
is_empty: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L4)

<a id="struct_field-min"></a>

### min

```rust
min: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L5)

<a id="struct_field-max"></a>

### max

```rust
max: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L6)

<a id="struct_field-padding_min"></a>

### padding_min

```rust
padding_min: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L7)

<a id="struct_field-padding_max"></a>

### padding_max

```rust
padding_max: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L8)

<a id="struct_field-requested_geometry_size"></a>

### requested_geometry_size

```rust
requested_geometry_size: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L9)

<a id="struct_field-min_delta"></a>

### min_delta

```rust
min_delta: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L10)

<a id="function-new"></a>

### new

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L30)

<a id="function-delta"></a>

### delta

```rust
fn delta(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L37)

<a id="function-append_value"></a>

### append_value

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L41)

<a id="function-append_bounds"></a>

### append_bounds

```rust
fn append_bounds(self: &mut Self, other: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/bounds.rs#L51)

## 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`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Default`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
