# ReleaseExcess

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/utilities/trait-releaseexcess/

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

```rust
trait ReleaseExcess
```

A buffer that gives back the storage it has beyond
[`RETAINED_BUFFER_BYTES`](/docs/0.5.0/api/ferroui-base/utilities/constant-retained_buffer_bytes/).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/release_excess.rs#L34)

## Members

- [`release_excess`](#function-release_excess)

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

### release_excess

```rust
fn release_excess(self: &mut Self)
```

Gives back the storage beyond `RETAINED_BUFFER_BYTES`. The content
is kept, whatever its size; a buffer that has no more storage than
that is not touched.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/release_excess.rs#L38)

## Trait implementations

- [`ReleaseExcess`](/docs/0.5.0/api/ferroui-base/utilities/trait-releaseexcess/)

## Availability

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