Struct gimli::OpcodesIter [] [src]

pub struct OpcodesIter<R: Reader> { /* fields omitted */ }

An iterator yielding parsed opcodes.

See LineNumberProgramHeader::opcodes for more details.

Methods

impl<R: Reader> OpcodesIter<R>
[src]

Advance the iterator and return the next opcode.

Returns the newly parsed opcode as Ok(Some(opcode)). Returns Ok(None) when iteration is complete and all opcodes have already been parsed and yielded. If an error occurs while parsing the next attribute, then this error is returned as Err(e), and all subsequent calls return Ok(None).

Unfortunately, the header parameter means that this cannot be a FallibleIterator.

Trait Implementations

impl<R: Clone + Reader> Clone for OpcodesIter<R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Debug + Reader> Debug for OpcodesIter<R>
[src]

Formats the value using the given formatter.