# BringIntoViewRequest

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/layout/trait-bringintoviewrequest/

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

```rust
trait BringIntoViewRequest
```

A bring-into-view request, processed by the
`IBringIntoViewLayoutManager` at the
end of a layout pass.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/layout/bring_into_view_request.rs#L7)

## Members

- [`target`](#function-target)
- [`try_execute`](#function-try_execute)

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

### target

```rust
fn target(self: &Self) -> Ref<Layoutable>
```

Gets the control this request is associated with.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/layout/bring_into_view_request.rs#L9)

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

### try_execute

```rust
fn try_execute(self: &Self) -> bool
```

Attempts to execute the request.

Returns true if the request has been executed (or abandoned) and
should be removed from the queue; false if the target isn't ready yet
and the request should be retained for a following layout pass.

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

## Availability

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