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 moreimpl<R: Copy + Reader> Copy for OperationIter<R>
Auto Trait Implementations§
impl<R> Freeze for OperationIter<R>where
R: Freeze,
impl<R> RefUnwindSafe for OperationIter<R>where
R: RefUnwindSafe,
impl<R> Send for OperationIter<R>where
R: Send,
impl<R> Sync for OperationIter<R>where
R: Sync,
impl<R> Unpin for OperationIter<R>where
R: Unpin,
impl<R> UnwindSafe for OperationIter<R>where
R: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more