Struct gimli::read::OperationIter
source · [−]pub struct OperationIter<R: Reader> { /* private fields */ }
Expand description
An iterator for the operations in an expression.
Implementations
sourceimpl<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
sourceimpl<R: Clone + Reader> Clone for OperationIter<R>
impl<R: Clone + Reader> Clone for OperationIter<R>
sourcefn clone(&self) -> OperationIter<R>
fn clone(&self) -> OperationIter<R>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<R: Debug + Reader> Debug for OperationIter<R>
impl<R: Debug + Reader> Debug for OperationIter<R>
impl<R: Copy + Reader> Copy for OperationIter<R>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more