pub struct DebugInfoSection {
pub files: Vec<DebugFileEntry>,
pub containers: Vec<DebugContainerTable>,
}Expand description
The DebugInfo section (docs/debugger-spec.md §2, .inkb tag
0x11): bytecode-offset → source-range map, plus the section-local file
table it’s keyed against. Carried on crate::StoryData::debug_info as
Option — None when not requested (dev/studio compiles and an
explicit CLI debug flag opt in; release export never does, §1.2 ship
policy) — distinct from the other “always present, possibly empty”
section types, because presence here tracks whether debug info was
requested, not merely whether any entry was produced.
Fields§
§files: Vec<DebugFileEntry>Index 0 is always the reserved synthetic sentinel (§2.5).
containers: Vec<DebugContainerTable>One table per container, in the same order and count as
crate::StoryData::containers.
Trait Implementations§
Source§impl Clone for DebugInfoSection
impl Clone for DebugInfoSection
Source§fn clone(&self) -> DebugInfoSection
fn clone(&self) -> DebugInfoSection
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 DebugInfoSection
impl Debug for DebugInfoSection
impl Eq for DebugInfoSection
Source§impl PartialEq for DebugInfoSection
impl PartialEq for DebugInfoSection
impl StructuralPartialEq for DebugInfoSection
Auto Trait Implementations§
impl Freeze for DebugInfoSection
impl RefUnwindSafe for DebugInfoSection
impl Send for DebugInfoSection
impl Sync for DebugInfoSection
impl Unpin for DebugInfoSection
impl UnsafeUnpin for DebugInfoSection
impl UnwindSafe for DebugInfoSection
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