Struct gimli::OpcodesIter [] [src]

pub struct OpcodesIter<'input, Endian> where
    Endian: Endianity
{ /* fields omitted */ }

An iterator yielding parsed opcodes.

See LineNumberProgramHeader::opcodes for more details.

Methods

impl<'input, Endian> OpcodesIter<'input, Endian> where
    Endian: Endianity
[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 on all subsequent calls as Err(e).

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

Trait Implementations

impl<'input, Endian: Clone> Clone for OpcodesIter<'input, Endian> where
    Endian: Endianity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'input, Endian: Debug> Debug for OpcodesIter<'input, Endian> where
    Endian: Endianity
[src]

Formats the value using the given formatter.