# IPlatformFeedback

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

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

```rust
trait IPlatformFeedback
```

Performs audible or haptic feedback for user interactions.

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

## Members

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

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

### perform

```rust
fn perform(self: &Self, feedback: FeedbackAction, type_: FeedbackType) -> bool
```

Performs the feedback; returns whether it was performed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/i_platform_feedback.rs#L4)

## Availability

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