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