Trait gimli::read::line::LineProgram

source ·
pub trait LineProgram<R, Offset = <R as Reader>::Offset>
where R: Reader<Offset = Offset>, Offset: ReaderOffset,
{ // Required methods 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§

source

fn header(&self) -> &LineProgramHeader<R, Offset>

Get a reference to the held LineProgramHeader.

source

fn add_file(&mut self, file: FileEntry<R, Offset>)

Add a file to the file table if necessary.

Implementors§

source§

impl<'program, R, Offset> LineProgram<R, Offset> for &'program CompleteLineProgram<R, Offset>
where R: Reader<Offset = Offset>, Offset: ReaderOffset,

source§

impl<R, Offset> LineProgram<R, Offset> for IncompleteLineProgram<R, Offset>
where R: Reader<Offset = Offset>, Offset: ReaderOffset,