# RectObstacle

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-pretext-layout/struct-rectobstacle/

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

```rust
struct RectObstacle
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L18)

## Members

- [`x`](#struct_field-x)
- [`y`](#struct_field-y)
- [`width`](#struct_field-width)
- [`height`](#struct_field-height)
- [`right`](#function-right)
- [`bottom`](#function-bottom)

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

### x

```rust
x: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L19)

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

### y

```rust
y: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L20)

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

### width

```rust
width: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L21)

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

### height

```rust
height: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L22)

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

### right

```rust
fn right(self: Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L26)

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

### bottom

```rust
fn bottom(self: Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Pretext/FerroUI.Pretext.Layout/layout_primitives.rs#L30)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`

## Availability

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