pub struct DebugInfo {
pub path: String,
pub creator: String,
pub reserved: u32,
pub files: Vec<String>,
pub lines: Vec<SourceLine>,
pub variables: Vec<Variable>,
pub entry: String,
}Expand description
The DBUG comment decoded.
Fields§
§path: StringThe main source file’s path (header word 0).
creator: StringThe compiler’s name (header word 1).
reserved: u32Header word 2.
files: Vec<String>The source files’ paths.
lines: Vec<SourceLine>The source lines, a record for each declaration, definition and instruction in stream order.
variables: Vec<Variable>The variables, in name order.
entry: StringThe entry point’s name (header word 9).
Trait Implementations§
impl Eq for DebugInfo
impl StructuralPartialEq for DebugInfo
Auto Trait Implementations§
impl Forget for DebugInfo
impl Freeze for DebugInfo
impl RefUnwindSafe for DebugInfo
impl Send for DebugInfo
impl Sync for DebugInfo
impl Unpin for DebugInfo
impl UnsafeUnpin for DebugInfo
impl UnwindSafe for DebugInfo
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