# IHeadlessTouchPointer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-headless/trait-iheadlesstouchpointer/

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

```rust
trait IHeadlessTouchPointer: IDisposable
```

Represents an active touch contact simulated on a headless window/toplevel.
Use `touch_move` and
`touch_end` to drive the
contact.

Disposing the touch pointer cancels the contact if it hasn't been
released with `touch_end` yet.

Not client implementable: the extensions only accept the touch pointers
they created.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/i_headless_touch_pointer.rs#L16)

## Members

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

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

### as_any

```rust
fn as_any(self: &Self) -> &dyn Any
```

The touch pointer as its concrete type.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/i_headless_touch_pointer.rs#L18)

## Availability

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