Struct gtk4::builders::StringFilterBuilder
source · pub struct StringFilterBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct StringFilter
objects.
Implementations§
source§impl StringFilterBuilder
impl StringFilterBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new StringFilterBuilder
.
sourcepub fn build(self) -> StringFilter
pub fn build(self) -> StringFilter
Build the StringFilter
.
pub fn expression(self, expression: impl AsRef<Expression>) -> Self
pub fn ignore_case(self, ignore_case: bool) -> Self
pub fn match_mode(self, match_mode: StringFilterMatchMode) -> Self
pub fn search(self, search: &str) -> Self
Trait Implementations§
source§impl Clone for StringFilterBuilder
impl Clone for StringFilterBuilder
source§fn clone(&self) -> StringFilterBuilder
fn clone(&self) -> StringFilterBuilder
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 StringFilterBuilder
impl Default for StringFilterBuilder
source§fn default() -> StringFilterBuilder
fn default() -> StringFilterBuilder
Returns the “default value” for a type. Read more