pub struct SortOrder(/* private fields */);
Expand description
This enum describes how the items in a widget are sorted.
C++ enum: Qt::SortOrder
.
This enum describes how the items in a widget are sorted.
Implementations§
Source§impl SortOrder
impl SortOrder
Sourcepub const AscendingOrder: SortOrder
pub const AscendingOrder: SortOrder
The items are sorted ascending e.g. starts with ‘AAA’ ends with ‘ZZZ’ in Latin-1 locales (C++ enum variant: AscendingOrder = 0
)
Sourcepub const DescendingOrder: SortOrder
pub const DescendingOrder: SortOrder
The items are sorted descending e.g. starts with ‘ZZZ’ ends with ‘AAA’ in Latin-1 locales (C++ enum variant: DescendingOrder = 1
)
Trait Implementations§
impl Copy for SortOrder
impl Eq for SortOrder
impl StructuralPartialEq for SortOrder
Auto Trait Implementations§
impl Freeze for SortOrder
impl RefUnwindSafe for SortOrder
impl Send for SortOrder
impl Sync for SortOrder
impl Unpin for SortOrder
impl UnwindSafe for SortOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more