Struct miden_core::debuginfo::FileLineCol
source · pub struct FileLineCol {
pub path: Arc<str>,
pub line: u32,
pub column: u32,
}
Expand description
A FileLineCol represents traditional file/line/column information for use in rendering.
Fields§
§path: Arc<str>
The path to the source file in which the relevant source code can be found
line: u32
The one-indexed number of the line to which this location refers
column: u32
The one-indexed column of the line on which this location starts
Implementations§
source§impl FileLineCol
impl FileLineCol
sourcepub fn move_column(&mut self, offset: u32)
pub fn move_column(&mut self, offset: u32)
Moves the column by the given offset.
Trait Implementations§
source§impl Clone for FileLineCol
impl Clone for FileLineCol
source§fn clone(&self) -> FileLineCol
fn clone(&self) -> FileLineCol
Returns a copy 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 FileLineCol
impl Debug for FileLineCol
source§impl Display for FileLineCol
impl Display for FileLineCol
source§impl Hash for FileLineCol
impl Hash for FileLineCol
source§impl Ord for FileLineCol
impl Ord for FileLineCol
source§fn cmp(&self, other: &FileLineCol) -> Ordering
fn cmp(&self, other: &FileLineCol) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FileLineCol
impl PartialEq for FileLineCol
source§impl PartialOrd for FileLineCol
impl PartialOrd for FileLineCol
impl Eq for FileLineCol
impl StructuralPartialEq for FileLineCol
Auto Trait Implementations§
impl Freeze for FileLineCol
impl RefUnwindSafe for FileLineCol
impl Send for FileLineCol
impl Sync for FileLineCol
impl Unpin for FileLineCol
impl UnwindSafe for FileLineCol
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
)