Enum gtk4::SorterChange [−][src]
#[non_exhaustive]
pub enum SorterChange {
Different,
Inverted,
LessStrict,
MoreStrict,
// some variants omitted
}
Expand description
Describes changes in a sorter in more detail and allows users to optimize resorting.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The sorter change cannot be described by any of the other enumeration values
The sort order was inverted. Comparisons
that returned Ordering::Smaller
now return Ordering::Larger
and vice versa. Other comparisons return the same values as before.
The sorter is less strict: Comparisons
may now return Ordering::Equal
that did not do so before.
The sorter is more strict: Comparisons
that did return Ordering::Equal
may not do so anymore.
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 SorterChange
impl Send for SorterChange
impl Sync for SorterChange
impl Unpin for SorterChange
impl UnwindSafe for SorterChange
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.