Trait gimli::LineNumberProgram
[−]
[src]
pub trait LineNumberProgram<R: Reader> { fn header(&self) -> &LineNumberProgramHeader<R>; fn add_file(&mut self, file: FileEntry<R>); }
A LineNumberProgram
provides access to a LineNumberProgramHeader
and
a way to add files to the files table if necessary. Gimli consumers should
never need to use or see this trait.
Required Methods
fn header(&self) -> &LineNumberProgramHeader<R>
Get a reference to the held LineNumberProgramHeader
.
fn add_file(&mut self, file: FileEntry<R>)
Add a file to the file table if necessary.
Implementors
impl<R: Reader> LineNumberProgram<R> for IncompleteLineNumberProgram<R>
impl<'program, R: Reader> LineNumberProgram<R> for &'program CompleteLineNumberProgram<R>