Trait gimli::read::LineProgram[][src]

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>); }
[]

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>[src][]

Get a reference to the held LineProgramHeader.

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

Add a file to the file table if necessary.

Implementors

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

impl<R, Offset> LineProgram<R, Offset> for IncompleteLineProgram<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src][+]