Struct object::read::pe::ImportDescriptorIterator
source · pub struct ImportDescriptorIterator<'data> { /* private fields */ }
Expand description
A fallible iterator for the descriptors in the import data directory.
Implementations§
source§impl<'data> ImportDescriptorIterator<'data>
impl<'data> ImportDescriptorIterator<'data>
sourcepub fn next(&mut self) -> Result<Option<&'data ImageImportDescriptor>>
pub fn next(&mut self) -> Result<Option<&'data ImageImportDescriptor>>
Return the next descriptor.
Returns Ok(None)
when a null descriptor is found.
Trait Implementations§
source§impl<'data> Clone for ImportDescriptorIterator<'data>
impl<'data> Clone for ImportDescriptorIterator<'data>
source§fn clone(&self) -> ImportDescriptorIterator<'data>
fn clone(&self) -> ImportDescriptorIterator<'data>
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 moreAuto Trait Implementations§
impl<'data> RefUnwindSafe for ImportDescriptorIterator<'data>
impl<'data> Send for ImportDescriptorIterator<'data>
impl<'data> Sync for ImportDescriptorIterator<'data>
impl<'data> Unpin for ImportDescriptorIterator<'data>
impl<'data> UnwindSafe for ImportDescriptorIterator<'data>
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