FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VirtualResponse

    struct · ferroui-dynamic-data · v0.5.0

    struct VirtualResponse
    

    The window of sorted items that a virtual change set holds (VirtualResponse). Two responses are equal when their parts are (VirtualResponse.DefaultComparer).

    View source

    Members

    new

    const fn new(size: usize, start_index: usize, total_size: usize) -> Self
    

    The window of size items from start_index, of total_size items in all (VirtualResponse(int size, int startIndex, int totalSize)).

    Source

    size

    const fn size(self: &Self) -> usize
    

    The number of items requested (Size).

    Source

    start_index

    const fn start_index(self: &Self) -> usize
    

    The index of the first item (StartIndex).

    Source

    total_size

    const fn total_size(self: &Self) -> usize
    

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

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • Equivalent<K>
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • IVirtualResponse
    • Display

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.