# ButtonSpinnerImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/trait-buttonspinnerimpl/

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

```rust
trait ButtonSpinnerImpl: SpinnerImpl + $crate::Upcast<ButtonSpinner>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/button_spinner.rs#L42)

## Members

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

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

### on_allow_spin_changed

```rust
fn on_allow_spin_changed(this: &Self, old_value: bool, new_value: bool)
```

Called when the `AllowSpin` property value changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/button_spinner.rs#L42)

## Trait implementations

- [`ButtonSpinnerImpl`](/docs/0.5.0/api/ferroui-controls/trait-buttonspinnerimpl/)

## Availability

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