# LayoutHandle

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/struct-layouthandle/

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

```rust
struct LayoutHandle
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L95)

## Members

- [`id`](#struct_field-id)
- [`label`](#struct_field-label)
- [`position`](#struct_field-position)
- [`axis`](#struct_field-axis)
- [`value`](#struct_field-value)
- [`minimum`](#struct_field-minimum)
- [`maximum`](#struct_field-maximum)
- [`direction`](#struct_field-direction)
- [`action`](#struct_field-action)
- [`disabled_reason`](#struct_field-disabled_reason)
- [`value_after_delta`](#function-value_after_delta)

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

### id

```rust
id: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L96)

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

### label

```rust
label: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L97)

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

### position

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L98)

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

### axis

```rust
axis: crate::Axis
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L99)

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

### value

```rust
value: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L100)

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

### minimum

```rust
minimum: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L101)

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

### maximum

```rust
maximum: Option<f64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L102)

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

### direction

```rust
direction: f64
```

+1 for leading/positive-axis handles, -1 for trailing padding handles.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L104)

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

### action

```rust
action: LayoutHandleAction
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L105)

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

### disabled_reason

```rust
disabled_reason: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L106)

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

### value_after_delta

```rust
fn value_after_delta(self: &Self, delta: Point) -> Result<f64>
```

Convert a panel-local pointer displacement to a validated, clamped draft value.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/layout_helpers.rs#L110)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `DeserializeOwned`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Serialize`
- `Deserialize<'de>`

## Availability

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