Trait gimli::read::LineProgram
source · [−]pub trait LineProgram<R, Offset = <R as Reader>::Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset, {
fn header(&self) -> &LineProgramHeader<R, Offset>;
fn add_file(&mut self, file: FileEntry<R, Offset>);
}
Expand description
A LineProgram
provides access to a LineProgramHeader
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) -> &LineProgramHeader<R, Offset>
fn header(&self) -> &LineProgramHeader<R, Offset>
Get a reference to the held LineProgramHeader
.