pub enum SortKind {
Asc,
Desc,
AscCaseInsensitive,
DescCaseInsensitive,
AscByLength,
DescByLength,
AscNumeric,
DescNumeric,
}Expand description
Sort variant used by SelectionEdit::SortLines.
Variants§
Asc
Ascending, case-sensitive byte order.
Desc
Descending, case-sensitive byte order.
AscCaseInsensitive
Ascending, case-insensitive.
DescCaseInsensitive
Descending, case-insensitive.
AscByLength
Ascending, by ASCII length.
DescByLength
Descending, by ASCII length.
AscNumeric
Ascending, natural-numeric (digit runs as integers).
DescNumeric
Descending, natural-numeric.
Trait Implementations§
impl Copy for SortKind
impl Eq for SortKind
impl StructuralPartialEq for SortKind
Auto Trait Implementations§
impl Freeze for SortKind
impl RefUnwindSafe for SortKind
impl Send for SortKind
impl Sync for SortKind
impl Unpin for SortKind
impl UnsafeUnpin for SortKind
impl UnwindSafe for SortKind
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