# PointerUpdateKind

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/input/enum-pointerupdatekind/

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

```rust
enum PointerUpdateKind
```

The kind of state change of a pointer.

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

## Members

- [`LeftButtonPressed`](#variant-leftbuttonpressed)
- [`MiddleButtonPressed`](#variant-middlebuttonpressed)
- [`RightButtonPressed`](#variant-rightbuttonpressed)
- [`XButton1Pressed`](#variant-xbutton1pressed)
- [`XButton2Pressed`](#variant-xbutton2pressed)
- [`LeftButtonReleased`](#variant-leftbuttonreleased)
- [`MiddleButtonReleased`](#variant-middlebuttonreleased)
- [`RightButtonReleased`](#variant-rightbuttonreleased)
- [`XButton1Released`](#variant-xbutton1released)
- [`XButton2Released`](#variant-xbutton2released)
- [`Other`](#variant-other)
- [`get_mouse_button`](#function-get_mouse_button)

<a id="variant-leftbuttonpressed"></a>

### LeftButtonPressed

```rust
LeftButtonPressed
```



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

<a id="variant-middlebuttonpressed"></a>

### MiddleButtonPressed

```rust
MiddleButtonPressed
```



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

<a id="variant-rightbuttonpressed"></a>

### RightButtonPressed

```rust
RightButtonPressed
```



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

<a id="variant-xbutton1pressed"></a>

### XButton1Pressed

```rust
XButton1Pressed
```



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

<a id="variant-xbutton2pressed"></a>

### XButton2Pressed

```rust
XButton2Pressed
```



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

<a id="variant-leftbuttonreleased"></a>

### LeftButtonReleased

```rust
LeftButtonReleased
```



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

<a id="variant-middlebuttonreleased"></a>

### MiddleButtonReleased

```rust
MiddleButtonReleased
```



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

<a id="variant-rightbuttonreleased"></a>

### RightButtonReleased

```rust
RightButtonReleased
```



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

<a id="variant-xbutton1released"></a>

### XButton1Released

```rust
XButton1Released
```



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

<a id="variant-xbutton2released"></a>

### XButton2Released

```rust
XButton2Released
```



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

<a id="variant-other"></a>

### Other

```rust
Other
```



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

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

### get_mouse_button

```rust
fn get_mouse_button(self: Self) -> MouseButton
```

The mouse button whose state the update changed.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`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`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- [`ValueTypeRegistration`](/docs/0.5.0/api/ferroui-base/data/core/trait-valuetyperegistration/)

## Availability

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