# GestureRecognizerImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/input/gesture_recognizers/trait-gesturerecognizerimpl/

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

```rust
trait GestureRecognizerImpl: StyledElementImpl + $crate::Upcast<GestureRecognizer>
```

The overridable members introduced by the class.

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

## Members

- [`pointer_pressed`](#function-pointer_pressed)
- [`pointer_released`](#function-pointer_released)
- [`pointer_moved`](#function-pointer_moved)
- [`pointer_capture_lost`](#function-pointer_capture_lost)

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

### pointer_pressed

```rust
fn pointer_pressed(this: &Self, e: &PointerPressedEventArgs)
```

Called when a pointer is pressed on the target.

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

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

### pointer_released

```rust
fn pointer_released(this: &Self, e: &PointerReleasedEventArgs)
```

Called when a pointer is released on the target.

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

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

### pointer_moved

```rust
fn pointer_moved(this: &Self, e: &PointerEventArgs)
```

Called when a pointer moves over the target.

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

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

### pointer_capture_lost

```rust
fn pointer_capture_lost(this: &Self, pointer: &Rc<dyn IPointer>)
```

Called when the capture of a pointer is lost.

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

## Trait implementations

- [`GestureRecognizerImpl`](/docs/0.5.0/api/ferroui-base/input/gesture_recognizers/trait-gesturerecognizerimpl/)

## Availability

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