SortAndBindOptions
struct · ferroui-dynamic-data · v0.5.0
struct SortAndBindOptions
The options of SortAndBind (SortAndBindOptions).
Members
reset_thresholduse_replace_for_updatesuse_binary_searchinitial_capacityreset_on_first_time_loadscheduler
reset_threshold
reset_threshold: usize
The number of changes above which the target is loaded again; 0 never (ResetThreshold).
use_replace_for_updates
use_replace_for_updates: bool
Whether an update that keeps its position replaces the item in place
(UseReplaceForUpdates).
use_binary_search
use_binary_search: bool
Whether the positions are found by a binary search, which needs a comparer that tells every
item apart (UseBinarySearch).
initial_capacity
initial_capacity: Option<usize>
The initial capacity of the collection that SortAndBind creates; None for the default
(InitialCapacity, -1).
reset_on_first_time_load
reset_on_first_time_load: bool
Whether the first change set loads the target with a reset (ResetOnFirstTimeLoad).
scheduler
scheduler: Option<std::rc::Rc<dyn IScheduler>>
The scheduler on which the changes are observed, if any (Scheduler).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDefaultPartialEqDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.