pub struct MappedLocation {
pub file_id: FileId,
pub location: Location,
}Expand description
Result of mapping a position back to an original file
Fields§
§file_id: FileIdThe original file
location: LocationLocation in the original file
Trait Implementations§
Source§impl Clone for MappedLocation
impl Clone for MappedLocation
Source§fn clone(&self) -> MappedLocation
fn clone(&self) -> MappedLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MappedLocation
impl Debug for MappedLocation
Source§impl PartialEq for MappedLocation
impl PartialEq for MappedLocation
Source§fn eq(&self, other: &MappedLocation) -> bool
fn eq(&self, other: &MappedLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MappedLocation
Auto Trait Implementations§
impl Freeze for MappedLocation
impl RefUnwindSafe for MappedLocation
impl Send for MappedLocation
impl Sync for MappedLocation
impl Unpin for MappedLocation
impl UnsafeUnpin for MappedLocation
impl UnwindSafe for MappedLocation
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