# FlowLayoutImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-repeater/layouts/trait-flowlayoutimpl/

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

```rust
trait FlowLayoutImpl: VirtualizingLayoutImpl + $crate::Upcast<FlowLayout>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

## Members

- [`get_measure_size`](#function-get_measure_size)
- [`get_provisional_arrange_size`](#function-get_provisional_arrange_size)
- [`should_break_line`](#function-should_break_line)
- [`get_anchor_for_realization_rect`](#function-get_anchor_for_realization_rect)
- [`get_anchor_for_target_element`](#function-get_anchor_for_target_element)
- [`get_extent`](#function-get_extent)
- [`on_element_measured`](#function-on_element_measured)
- [`on_line_arranged`](#function-on_line_arranged)

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

### get_measure_size

```rust
fn get_measure_size(this: &Self, index: i32, available_size: Size) -> Size
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

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

### get_provisional_arrange_size

```rust
fn get_provisional_arrange_size(this: &Self, index: i32, measure_size: Size, desired_size: Size) -> Size
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

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

### should_break_line

```rust
fn should_break_line(this: &Self, index: i32, remaining_space: f64) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

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

### get_anchor_for_realization_rect

```rust
fn get_anchor_for_realization_rect(this: &Self, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> FlowLayoutAnchorInfo
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

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

### get_anchor_for_target_element

```rust
fn get_anchor_for_target_element(this: &Self, index: i32, available_size: Size, context: &Ref<VirtualizingLayoutContext>) -> FlowLayoutAnchorInfo
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

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

### get_extent

```rust
fn get_extent(this: &Self, available_size: Size, context: &Ref<VirtualizingLayoutContext>, first: FlowLayoutRealizedElement, last: FlowLayoutRealizedElement) -> Rect
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

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

### on_element_measured

```rust
fn on_element_measured(this: &Self, element: &Ref<Control>, index: i32, available_size: Size, measure_size: Size, desired_size: Size, provisional_arrange_size: Size, context: &Ref<VirtualizingLayoutContext>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

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

### on_line_arranged

```rust
fn on_line_arranged(this: &Self, start_index: i32, count_in_line: i32, line_size: f64, context: &Ref<VirtualizingLayoutContext>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Repeater/layouts/flow_layout.rs#L18)

## Trait implementations

- [`FlowLayoutImpl`](/docs/0.5.0/api/ferroui-controls-repeater/layouts/trait-flowlayoutimpl/)

## Availability

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