Struct gtk4::builders::FilterListModelBuilder
source · pub struct FilterListModelBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct FilterListModel
objects.
Implementations§
source§impl FilterListModelBuilder
impl FilterListModelBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new FilterListModelBuilder
.
sourcepub fn build(self) -> FilterListModel
pub fn build(self) -> FilterListModel
Build the FilterListModel
.
pub fn filter(self, filter: &impl IsA<Filter>) -> Self
pub fn incremental(self, incremental: bool) -> Self
pub fn model(self, model: &impl IsA<ListModel>) -> Self
Trait Implementations§
source§impl Clone for FilterListModelBuilder
impl Clone for FilterListModelBuilder
source§fn clone(&self) -> FilterListModelBuilder
fn clone(&self) -> FilterListModelBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for FilterListModelBuilder
impl Default for FilterListModelBuilder
source§fn default() -> FilterListModelBuilder
fn default() -> FilterListModelBuilder
Returns the “default value” for a type. Read more