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
.
pub fn incremental(self, incremental: bool) -> Self
pub fn model(self, model: &impl IsA<ListModel>) -> Self
pub fn sorter(self, sorter: &impl IsA<Sorter>) -> Self
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