Struct gimli::read::CompleteLineProgram [−][src]
pub struct CompleteLineProgram<R, Offset = <R as Reader>::Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset, { /* fields omitted */ }
A line number program that has previously been run to completion.
Implementations
impl<R, Offset> CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R, Offset> CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]pub fn header(&self) -> &LineProgramHeader<R, Offset>
[src]
Retrieve the LineProgramHeader
for this program.
pub fn resume_from<'program>(
&'program self,
sequence: &LineSequence<R>
) -> LineRows<R, &'program CompleteLineProgram<R, Offset>, Offset>
[src]
&'program self,
sequence: &LineSequence<R>
) -> LineRows<R, &'program CompleteLineProgram<R, Offset>, Offset>
Construct a new LineRows
for executing the subset of the line
number program identified by ‘sequence’ and generating the line information
matrix.
use gimli::{IncompleteLineProgram, EndianSlice, NativeEndian}; fn get_line_number_program<'a>() -> IncompleteLineProgram<EndianSlice<'a, NativeEndian>> { // Get a line number program from some offset in a // `.debug_line` section... } let program = get_line_number_program(); let (program, sequences) = program.sequences().unwrap(); for sequence in &sequences { let mut sm = program.resume_from(sequence); }
Trait Implementations
impl<R: Clone, Offset: Clone> Clone for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R: Clone, Offset: Clone> Clone for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]fn clone(&self) -> CompleteLineProgram<R, Offset>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<R: Debug, Offset: Debug> Debug for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R: Debug, Offset: Debug> Debug for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]impl<'program, R, Offset> LineProgram<R, Offset> for &'program CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<'program, R, Offset> LineProgram<R, Offset> for &'program CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]impl<R: PartialEq, Offset: PartialEq> PartialEq<CompleteLineProgram<R, Offset>> for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
impl<R: PartialEq, Offset: PartialEq> PartialEq<CompleteLineProgram<R, Offset>> for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]fn eq(&self, other: &CompleteLineProgram<R, Offset>) -> bool
[src]
fn ne(&self, other: &CompleteLineProgram<R, Offset>) -> bool
[src]
impl<R: Eq, Offset: Eq> Eq for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R, Offset> StructuralEq for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R, Offset> StructuralPartialEq for CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
[src]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Auto Trait Implementations
impl<R, Offset> Send for CompleteLineProgram<R, Offset> where
Offset: Send,
R: Send,
Offset: Send,
R: Send,
impl<R, Offset> Sync for CompleteLineProgram<R, Offset> where
Offset: Sync,
R: Sync,
Offset: Sync,
R: Sync,
impl<R, Offset> Unpin for CompleteLineProgram<R, Offset> where
Offset: Unpin,
R: Unpin,
Offset: Unpin,
R: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.