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 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.
sourcepub fn match_mode(self, match_mode: StringFilterMatchMode) -> Self
pub fn match_mode(self, match_mode: StringFilterMatchMode) -> Self
If exact matches are necessary or if substrings are allowed.
sourcepub fn build(self) -> StringFilter
pub fn build(self) -> StringFilter
Build the StringFilter
.