pub struct LineEntry {
pub address: u64,
pub file: FileIndex,
pub line: u32,
}Expand description
One address-to-source-row mapping.
A row stays in effect from its address until the next row’s address, so a function’s rows must be sorted and must start at or after the function’s start address. The writer rejects rows that violate either rule.
Fields§
§address: u64Unslid virtual address at which this row becomes active.
file: FileIndexSource file-table index.
line: u32One-based source line number, or zero when unknown.
Implementations§
Trait Implementations§
impl Copy for LineEntry
impl Eq for LineEntry
Source§impl Ord for LineEntry
impl Ord for LineEntry
1.21.0 (const: unstable) · 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 PartialOrd for LineEntry
impl PartialOrd for LineEntry
impl StructuralPartialEq for LineEntry
Auto Trait Implementations§
impl Freeze for LineEntry
impl RefUnwindSafe for LineEntry
impl Send for LineEntry
impl Sync for LineEntry
impl Unpin for LineEntry
impl UnsafeUnpin for LineEntry
impl UnwindSafe for LineEntry
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