pub struct ByOriginalLocation;
Expand description
Sort mappings by their original locations, breaking ties by their generated locations.
Trait Implementations§
Source§impl ComparatorFunction<OriginalLocation> for ByOriginalLocation
impl ComparatorFunction<OriginalLocation> for ByOriginalLocation
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 ByOriginalLocation
impl RefUnwindSafe for ByOriginalLocation
impl Send for ByOriginalLocation
impl Sync for ByOriginalLocation
impl Unpin for ByOriginalLocation
impl UnwindSafe for ByOriginalLocation
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