pub struct ByOriginalLocationSameSource;
Expand description
Assuming mappings are in the same original source, sort mappings by their original locations, breaking ties by their generated locations.
Trait Implementations§
Source§impl ComparatorFunction<OriginalLocation> for ByOriginalLocationSameSource
impl ComparatorFunction<OriginalLocation> for ByOriginalLocationSameSource
Source§fn compare(a: &OriginalLocation, b: &OriginalLocation) -> Ordering
fn compare(a: &OriginalLocation, b: &OriginalLocation) -> Ordering
Compare the given values.
Auto Trait Implementations§
impl Freeze for ByOriginalLocationSameSource
impl RefUnwindSafe for ByOriginalLocationSameSource
impl Send for ByOriginalLocationSameSource
impl Sync for ByOriginalLocationSameSource
impl Unpin for ByOriginalLocationSameSource
impl UnwindSafe for ByOriginalLocationSameSource
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