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
Available on crate feature v4_12 only.
pub fn section_sorter(self, section_sorter: &impl IsA<Sorter>) -> Self
v4_12 only.The section sorter for this model, if one is set.
Sourcepub fn build(self) -> SortListModel
pub fn build(self) -> SortListModel
Build the SortListModel.