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§
source§impl PartialEq for SortOrder
impl PartialEq for SortOrder
impl Copy for SortOrder
impl Eq for SortOrder
impl StructuralEq for SortOrder
impl StructuralPartialEq for SortOrder
Auto Trait Implementations§
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