Skip to main content

IVirtualResponse

Trait IVirtualResponse 

Source
pub trait IVirtualResponse {
    // Required methods
    fn size(&self) -> usize;
    fn start_index(&self) -> usize;
    fn total_size(&self) -> usize;
}
Expand description

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

Required Methods§

Source

fn size(&self) -> usize

The number of items requested (Size).

Source

fn start_index(&self) -> usize

The index of the first item (StartIndex).

Source

fn total_size(&self) -> usize

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§