# VirtualizationInfo

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-repeater/struct-virtualizationinfo/

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

```rust
struct VirtualizationInfo
```

The ownership and layout state of one realized element. The template component
is held weakly; the phased item is held strongly while phasing lasts (see `data`).

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

## Members

- [`PHASE_NOT_SPECIFIED`](#assoc_const-phase_not_specified)
- [`PHASE_REACHED_END`](#assoc_const-phase_reached_end)
- [`INVALID_RECT`](#assoc_const-invalid_rect)
- [`new`](#function-new)
- [`owner`](#function-owner)
- [`index`](#function-index)
- [`unique_id`](#function-unique_id)
- [`is_pinned`](#function-is_pinned)
- [`pin_count`](#function-pin_count)
- [`is_held_by_layout`](#function-is_held_by_layout)
- [`is_in_pinned_pool`](#function-is_in_pinned_pool)
- [`is_in_unique_id_reset_pool`](#function-is_in_unique_id_reset_pool)
- [`is_realized`](#function-is_realized)
- [`phase`](#function-phase)
- [`set_phase`](#function-set_phase)
- [`data`](#function-data)
- [`data_template_component`](#function-data_template_component)
- [`update_phasing_info`](#function-update_phasing_info)
- [`must_clear_data_context`](#function-must_clear_data_context)
- [`set_must_clear_data_context`](#function-set_must_clear_data_context)
- [`keep_alive`](#function-keep_alive)
- [`set_keep_alive`](#function-set_keep_alive)
- [`auto_recycle_candidate`](#function-auto_recycle_candidate)
- [`set_auto_recycle_candidate`](#function-set_auto_recycle_candidate)
- [`arrange_bounds`](#function-arrange_bounds)
- [`set_arrange_bounds`](#function-set_arrange_bounds)
- [`move_ownership_to_layout_from_element_factory`](#function-move_ownership_to_layout_from_element_factory)
- [`move_ownership_to_layout_from_unique_id_reset_pool`](#function-move_ownership_to_layout_from_unique_id_reset_pool)
- [`move_ownership_to_layout_from_pinned_pool`](#function-move_ownership_to_layout_from_pinned_pool)
- [`move_ownership_to_element_factory`](#function-move_ownership_to_element_factory)
- [`move_ownership_to_unique_id_reset_pool_from_layout`](#function-move_ownership_to_unique_id_reset_pool_from_layout)
- [`move_ownership_to_animator`](#function-move_ownership_to_animator)
- [`move_ownership_to_pinned_pool`](#function-move_ownership_to_pinned_pool)
- [`add_pin`](#function-add_pin)
- [`remove_pin`](#function-remove_pin)
- [`update_index`](#function-update_index)

<a id="assoc_const-phase_not_specified"></a>

### PHASE_NOT_SPECIFIED

```rust
const PHASE_NOT_SPECIFIED: i32
```



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

<a id="assoc_const-phase_reached_end"></a>

### PHASE_REACHED_END

```rust
const PHASE_REACHED_END: i32
```



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

<a id="assoc_const-invalid_rect"></a>

### INVALID_RECT

```rust
const INVALID_RECT: Rect
```



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

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

### new

```rust
fn new() -> Rc<Self>
```



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

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

### owner

```rust
fn owner(self: &Self) -> ElementOwner
```



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

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

### index

```rust
fn index(self: &Self) -> i32
```



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

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

### unique_id

```rust
fn unique_id(self: &Self) -> String
```



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

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

### is_pinned

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



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

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

### pin_count

```rust
fn pin_count(self: &Self) -> u32
```



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

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

### is_held_by_layout

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



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

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

### is_in_pinned_pool

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



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

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

### is_in_unique_id_reset_pool

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



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

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

### is_realized

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



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

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

### phase

```rust
fn phase(self: &Self) -> i32
```



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

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

### set_phase

```rust
fn set_phase(self: &Self, phase: i32)
```



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

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

### data

```rust
fn data(self: &Self) -> Option<BoxedValue>
```



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

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

### data_template_component

```rust
fn data_template_component(self: &Self) -> Option<Rc<dyn IDataTemplateComponent>>
```



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

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

### update_phasing_info

```rust
fn update_phasing_info(self: &Self, phase: i32, data: Option<BoxedValue>, component: Option<Rc<dyn IDataTemplateComponent>>)
```



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

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

### must_clear_data_context

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



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

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

### set_must_clear_data_context

```rust
fn set_must_clear_data_context(self: &Self, value: bool)
```



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

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

### keep_alive

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



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

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

### set_keep_alive

```rust
fn set_keep_alive(self: &Self, value: bool)
```



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

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

### auto_recycle_candidate

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



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

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

### set_auto_recycle_candidate

```rust
fn set_auto_recycle_candidate(self: &Self, value: bool)
```



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

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

### arrange_bounds

```rust
fn arrange_bounds(self: &Self) -> Rect
```



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

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

### set_arrange_bounds

```rust
fn set_arrange_bounds(self: &Self, value: Rect)
```



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

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

### move_ownership_to_layout_from_element_factory

```rust
fn move_ownership_to_layout_from_element_factory(self: &Self, index: i32, unique_id: impl Into<String>)
```



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

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

### move_ownership_to_layout_from_unique_id_reset_pool

```rust
fn move_ownership_to_layout_from_unique_id_reset_pool(self: &Self)
```



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

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

### move_ownership_to_layout_from_pinned_pool

```rust
fn move_ownership_to_layout_from_pinned_pool(self: &Self)
```



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

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

### move_ownership_to_element_factory

```rust
fn move_ownership_to_element_factory(self: &Self)
```



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

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

### move_ownership_to_unique_id_reset_pool_from_layout

```rust
fn move_ownership_to_unique_id_reset_pool_from_layout(self: &Self)
```



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

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

### move_ownership_to_animator

```rust
fn move_ownership_to_animator(self: &Self)
```



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

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

### move_ownership_to_pinned_pool

```rust
fn move_ownership_to_pinned_pool(self: &Self)
```



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

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

### add_pin

```rust
fn add_pin(self: &Self) -> u32
```



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

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

### remove_pin

```rust
fn remove_pin(self: &Self) -> u32
```



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

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

### update_index

```rust
fn update_index(self: &Self, index: i32)
```



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `PartialEq`
- `Default`

## Availability

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