# RawPointerPoint

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

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

```rust
struct RawPointerPoint
```

The position and pen state of a raw pointer event.

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

## Members

- [`position`](#struct_field-position)
- [`twist`](#struct_field-twist)
- [`pressure`](#struct_field-pressure)
- [`x_tilt`](#struct_field-x_tilt)
- [`y_tilt`](#struct_field-y_tilt)
- [`new`](#function-new)
- [`contact_rect`](#function-contact_rect)
- [`set_contact_rect`](#function-set_contact_rect)

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

### position

```rust
position: crate::Point
```

Pointer position, in client DIPs.

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

<a id="struct_field-twist"></a>

### twist

```rust
twist: f32
```



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

<a id="struct_field-pressure"></a>

### pressure

```rust
pressure: f32
```



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

<a id="struct_field-x_tilt"></a>

### x_tilt

```rust
x_tilt: f32
```



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

<a id="struct_field-y_tilt"></a>

### y_tilt

```rust
y_tilt: f32
```



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

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

### new

```rust
fn new() -> Self
```

Creates a raw pointer point at the origin with default pressure.

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

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

### contact_rect

```rust
fn contact_rect(self: &Self) -> Rect
```

The contact rectangle of the pointer; an empty rectangle at the
pointer position unless set.

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

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

### set_contact_rect

```rust
fn set_contact_rect(self: &mut Self, value: Rect)
```



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Default`

## Availability

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