FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SortAndBindOptions

    struct · ferroui-dynamic-data · v0.5.0

    struct SortAndBindOptions
    

    The options of SortAndBind (SortAndBindOptions).

    View source

    Members

    reset_threshold

    reset_threshold: usize
    

    The number of changes above which the target is loaded again; 0 never (ResetThreshold).

    Source

    use_replace_for_updates

    use_replace_for_updates: bool
    

    Whether an update that keeps its position replaces the item in place (UseReplaceForUpdates).

    Source

    use_binary_search: bool
    

    Whether the positions are found by a binary search, which needs a comparer that tells every item apart (UseBinarySearch).

    Source

    initial_capacity

    initial_capacity: Option<usize>
    

    The initial capacity of the collection that SortAndBind creates; None for the default (InitialCapacity, -1).

    Source

    reset_on_first_time_load

    reset_on_first_time_load: bool
    

    Whether the first change set loads the target with a reset (ResetOnFirstTimeLoad).

    Source

    scheduler

    scheduler: Option<std::rc::Rc<dyn IScheduler>>
    

    The scheduler on which the changes are observed, if any (Scheduler).

    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
    • Clone
    • Default
    • PartialEq
    • Debug

    Availability

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