Struct gimli::read::OperationIter
source · pub struct OperationIter<R: Reader> { /* private fields */ }
Expand description
An iterator for the operations in an expression.
Implementations§
source§impl<R: Reader> OperationIter<R>
impl<R: Reader> OperationIter<R>
sourcepub fn next(&mut self) -> Result<Option<Operation<R>>>
pub fn next(&mut self) -> Result<Option<Operation<R>>>
Read the next operation in an expression.
sourcepub fn offset_from(&self, expression: &Expression<R>) -> R::Offset
pub fn offset_from(&self, expression: &Expression<R>) -> R::Offset
Return the current byte offset of the iterator.
Trait Implementations§
source§impl<R: Clone + Reader> Clone for OperationIter<R>
impl<R: Clone + Reader> Clone for OperationIter<R>
source§fn clone(&self) -> OperationIter<R>
fn clone(&self) -> OperationIter<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more