pub struct FilterListModelBuilder { /* private fields */ }Expand description
A builder-pattern type to construct FilterListModel objects.
Implementations§
Source§impl FilterListModelBuilder
impl FilterListModelBuilder
Sourcepub fn incremental(self, incremental: bool) -> Self
pub fn incremental(self, incremental: bool) -> Self
If the model should filter items incrementally.
Sourcepub fn watch_items(self, watch_items: bool) -> Self
Available on crate feature v4_20 only.
pub fn watch_items(self, watch_items: bool) -> Self
v4_20 only.Monitor the list items for changes. It may impact performance.
Sourcepub fn build(self) -> FilterListModel
pub fn build(self) -> FilterListModel
Build the FilterListModel.
Auto Trait Implementations§
impl Freeze for FilterListModelBuilder
impl RefUnwindSafe for FilterListModelBuilder
impl !Send for FilterListModelBuilder
impl !Sync for FilterListModelBuilder
impl Unpin for FilterListModelBuilder
impl UnwindSafe for FilterListModelBuilder
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