# RawTouchEventArgs

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

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

```rust
struct RawTouchEventArgs
```

A raw touch event.

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

## Members

- [`new`](#function-new)
- [`with_point`](#function-with_point)

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

### new

```rust
fn new(device: Rc<dyn IInputDevice>, timestamp: u64, root: Rc<dyn IInputRoot>, type_: RawPointerEventType, position: Point, input_modifiers: RawInputModifiers, raw_pointer_id: i64) -> Self
```

Creates raw touch event args for a position in client coordinates.

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

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

### with_point

```rust
fn with_point(device: Rc<dyn IInputDevice>, timestamp: u64, root: Rc<dyn IInputRoot>, type_: RawPointerEventType, point: RawPointerPoint, input_modifiers: RawInputModifiers, raw_pointer_id: i64) -> Self
```

Creates raw touch event args for a raw pointer point.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`IRawInputEventArgs`](/docs/0.5.0/api/ferroui-base/input/raw/trait-irawinputeventargs/)

## Availability

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