pub struct SortAndPageOptions {
pub reset_threshold: usize,
pub use_binary_search: bool,
pub initial_capacity: usize,
}Expand description
The options of SortAndPage (SortAndPageOptions).
Fields§
§reset_threshold: usizeThe number of changes from which the sorted items are rebuilt rather than edited; 0 never
rebuilds (ResetThreshold, by default BindingOptions.DefaultResetThreshold, 25).
use_binary_search: boolFind positions with a binary search, which needs the values that the comparer reads never
to change (UseBinarySearch).
initial_capacity: usizeThe initial capacity of the sorted list (InitialCapacity).
Trait Implementations§
Source§impl Clone for SortAndPageOptions
impl Clone for SortAndPageOptions
impl Copy for SortAndPageOptions
Source§impl Debug for SortAndPageOptions
impl Debug for SortAndPageOptions
Source§impl Default for SortAndPageOptions
impl Default for SortAndPageOptions
impl Eq for SortAndPageOptions
Source§impl Hash for SortAndPageOptions
impl Hash for SortAndPageOptions
Source§impl PartialEq for SortAndPageOptions
impl PartialEq for SortAndPageOptions
impl StructuralPartialEq for SortAndPageOptions
Auto Trait Implementations§
impl Freeze for SortAndPageOptions
impl RefUnwindSafe for SortAndPageOptions
impl Send for SortAndPageOptions
impl Sync for SortAndPageOptions
impl Unpin for SortAndPageOptions
impl UnsafeUnpin for SortAndPageOptions
impl UnwindSafe for SortAndPageOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more