Struct gtk4::builders::BoolFilterBuilder
source · [−]pub struct BoolFilterBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct BoolFilter
objects.
Implementations
sourceimpl 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
.
pub fn expression(self, expression: impl AsRef<Expression>) -> Self
pub fn invert(self, invert: bool) -> Self
Trait Implementations
sourceimpl Clone for BoolFilterBuilder
impl Clone for BoolFilterBuilder
sourcefn clone(&self) -> BoolFilterBuilder
fn clone(&self) -> BoolFilterBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for BoolFilterBuilder
impl Default for BoolFilterBuilder
sourcefn default() -> BoolFilterBuilder
fn default() -> BoolFilterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BoolFilterBuilder
impl !Send for BoolFilterBuilder
impl !Sync for BoolFilterBuilder
impl Unpin for BoolFilterBuilder
impl UnwindSafe for BoolFilterBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more