pub struct Sort<S> {
pub by: S,
pub order: SortOrder,
}Expand description
How a Table is sorted: by the column with this sort key, and which
way.
Fields§
§by: S§order: SortOrderImplementations§
Trait Implementations§
impl<S: Copy> Copy for Sort<S>
impl<S: Eq> Eq for Sort<S>
impl<S: PartialEq> StructuralPartialEq for Sort<S>
Auto Trait Implementations§
impl<S> Freeze for Sort<S>where
S: Freeze,
impl<S> RefUnwindSafe for Sort<S>where
S: RefUnwindSafe,
impl<S> Send for Sort<S>where
S: Send,
impl<S> Sync for Sort<S>where
S: Sync,
impl<S> Unpin for Sort<S>where
S: Unpin,
impl<S> UnsafeUnpin for Sort<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Sort<S>where
S: UnwindSafe,
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