Enum gtk4::FilterChange [−][src]
#[non_exhaustive]
pub enum FilterChange {
Different,
LessStrict,
MoreStrict,
// some variants omitted
}
Expand description
Describes changes in a filter in more detail and allows objects using the filter to optimize refiltering items.
If you are writing an implementation and are not sure which
value to pass, Different
is always a correct
choice.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The filter change cannot be described with any of the other enumeration values.
The filter is less strict than
it was before: All items that it used to return true
for
still return true
, others now may, too.
The filter is more strict than
it was before: All items that it used to return false
for
still return false
, others now may, too.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for FilterChange
impl Send for FilterChange
impl Sync for FilterChange
impl Unpin for FilterChange
impl UnwindSafe for FilterChange
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.