# IVirtualResponse

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dynamic-data/cache/trait-ivirtualresponse/

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

```rust
trait IVirtualResponse
```

The window of sorted items that a virtual change set holds (`IVirtualResponse`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/cache/virtual_response.rs#L7)

## Members

- [`size`](#function-size)
- [`start_index`](#function-start_index)
- [`total_size`](#function-total_size)

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

### size

```rust
fn size(self: &Self) -> usize
```

The number of items requested (`Size`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/cache/virtual_response.rs#L9)

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

### start_index

```rust
fn start_index(self: &Self) -> usize
```

The index of the first item (`StartIndex`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/cache/virtual_response.rs#L11)

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

### total_size

```rust
fn total_size(self: &Self) -> usize
```

The number of items of the whole collection (`TotalSize`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/cache/virtual_response.rs#L13)

## Trait implementations

- [`IVirtualResponse`](/docs/0.5.0/api/ferroui-dynamic-data/cache/trait-ivirtualresponse/)

## Availability

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