pub struct SortListModelBuilder { /* private fields */ }Expand description
A builder-pattern type to construct SortListModel objects.
Implementations§
Source§impl SortListModelBuilder
impl SortListModelBuilder
pub fn incremental(self, incremental: bool) -> Self
pub fn model(self, model: &impl IsA<ListModel>) -> Self
pub fn section_sorter(self, section_sorter: &impl IsA<Sorter>) -> Self
Available on crate feature
v4_12 only.pub fn sorter(self, sorter: &impl IsA<Sorter>) -> Self
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