Struct miden_core::debuginfo::Location
source · pub struct Location {
pub path: Arc<str>,
pub start: ByteIndex,
pub end: ByteIndex,
}
Expand description
A Location represents file and span information for portability across source managers
Fields§
§path: Arc<str>
The path to the source file in which the relevant source code can be found
start: ByteIndex
The starting byte index (inclusive) of this location
end: ByteIndex
The ending byte index (exclusive) of this location
Implementations§
Trait Implementations§
source§impl Ord for Location
impl Ord for Location
source§impl PartialOrd for Location
impl PartialOrd for Location
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)