pub struct WrapAndSortOrder;Expand description
Sorting order matching wrap-and-sort behavior.
This sorting order matches the behavior of the devscripts wrap-and-sort tool. It sorts packages into three groups:
- Build-system packages (debhelper-compat, cdbs, etc.) - sorted first
- Regular packages starting with [a-z0-9] - sorted in the middle
- Substvars and other special packages - sorted last
Within each group, packages are sorted lexicographically.
Trait Implementations§
Source§impl Clone for WrapAndSortOrder
impl Clone for WrapAndSortOrder
Source§fn clone(&self) -> WrapAndSortOrder
fn clone(&self) -> WrapAndSortOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WrapAndSortOrder
impl Debug for WrapAndSortOrder
Source§impl Default for WrapAndSortOrder
impl Default for WrapAndSortOrder
Source§fn default() -> WrapAndSortOrder
fn default() -> WrapAndSortOrder
Returns the “default value” for a type. Read more
Source§impl SortingOrder for WrapAndSortOrder
impl SortingOrder for WrapAndSortOrder
impl Copy for WrapAndSortOrder
Auto Trait Implementations§
impl Freeze for WrapAndSortOrder
impl RefUnwindSafe for WrapAndSortOrder
impl Send for WrapAndSortOrder
impl Sync for WrapAndSortOrder
impl Unpin for WrapAndSortOrder
impl UnwindSafe for WrapAndSortOrder
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