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 new() -> Self
pub fn new() -> Self
Create a new SortListModelBuilder
.
sourcepub fn build(self) -> SortListModel
pub fn build(self) -> SortListModel
Build the SortListModel
.
sourcepub fn incremental(self, incremental: bool) -> Self
pub fn incremental(self, incremental: bool) -> Self
If the model should sort items incrementally.
Trait Implementations§
source§impl Clone for SortListModelBuilder
impl Clone for SortListModelBuilder
source§fn clone(&self) -> SortListModelBuilder
fn clone(&self) -> SortListModelBuilder
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 SortListModelBuilder
impl Default for SortListModelBuilder
source§fn default() -> SortListModelBuilder
fn default() -> SortListModelBuilder
Returns the “default value” for a type. Read more