pub struct SortListModelBuilder { /* private fields */ }Expand description
A builder-pattern type to construct SortListModel objects.
Implementations§
Source§impl SortListModelBuilder
impl SortListModelBuilder
Sourcepub fn incremental(self, incremental: bool) -> Self
pub fn incremental(self, incremental: bool) -> Self
If the model should sort items incrementally.
Sourcepub fn section_sorter(self, section_sorter: &impl IsA<Sorter>) -> Self
pub fn section_sorter(self, section_sorter: &impl IsA<Sorter>) -> Self
The section sorter for this model, if one is set.
Sourcepub fn build(self) -> SortListModel
pub fn build(self) -> SortListModel
Build the SortListModel.
Auto Trait Implementations§
impl !Send for SortListModelBuilder
impl !Sync for SortListModelBuilder
impl Freeze for SortListModelBuilder
impl RefUnwindSafe for SortListModelBuilder
impl Unpin for SortListModelBuilder
impl UnsafeUnpin for SortListModelBuilder
impl UnwindSafe for SortListModelBuilder
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