Struct gtk4::builders::SortListModelBuilder
source · 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
.
Auto Trait Implementations§
impl Freeze for SortListModelBuilder
impl RefUnwindSafe for SortListModelBuilder
impl !Send for SortListModelBuilder
impl !Sync for SortListModelBuilder
impl Unpin 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