# HoldingRoutedEventArgs

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/input/struct-holdingroutedeventargs/

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

```rust
struct HoldingRoutedEventArgs
```

Provides data for the holding event.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/holding_routed_event_args.rs#L7)

## Members

- [`holding_state`](#function-holding_state)
- [`position`](#function-position)
- [`pointer_type`](#function-pointer_type)
- [`pointer_event_args`](#function-pointer_event_args)

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

### holding_state

```rust
fn holding_state(self: &Self) -> HoldingState
```

The state of the holding gesture.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/holding_routed_event_args.rs#L35)

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

### position

```rust
fn position(self: &Self) -> Point
```

The location of the touch, mouse, or pen/stylus contact.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/holding_routed_event_args.rs#L41)

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

### pointer_type

```rust
fn pointer_type(self: &Self) -> PointerType
```

The pointer type of the input source.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/holding_routed_event_args.rs#L47)

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

### pointer_event_args

```rust
fn pointer_event_args(self: &Self) -> &PointerEventArgs
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/holding_routed_event_args.rs#L51)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Deref`
- [`IRoutedEventArgs`](/docs/0.5.0/api/ferroui-base/interactivity/trait-iroutedeventargs/)
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

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