Struct gtk4::builders::StringSorterBuilder
source · pub struct StringSorterBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct StringSorter
objects.
Implementations§
source§impl StringSorterBuilder
impl StringSorterBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new StringSorterBuilder
.
sourcepub fn build(self) -> StringSorter
pub fn build(self) -> StringSorter
Build the StringSorter
.
sourcepub fn expression(self, expression: impl AsRef<Expression>) -> Self
pub fn expression(self, expression: impl AsRef<Expression>) -> Self
The expression to evaluate on item to get a string to compare with.
sourcepub fn ignore_case(self, ignore_case: bool) -> Self
pub fn ignore_case(self, ignore_case: bool) -> Self
If matching is case sensitive.
Trait Implementations§
source§impl Clone for StringSorterBuilder
impl Clone for StringSorterBuilder
source§fn clone(&self) -> StringSorterBuilder
fn clone(&self) -> StringSorterBuilder
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 StringSorterBuilder
impl Default for StringSorterBuilder
source§fn default() -> StringSorterBuilder
fn default() -> StringSorterBuilder
Returns the “default value” for a type. Read more