pub struct VerneedSection<'a> { /* private fields */ }
Expand description
Helper struct to iterate over Version Needed and Version Needed Auxiliary entries.
Implementations§
Source§impl<'a> VerneedSection<'a>
impl<'a> VerneedSection<'a>
Sourcepub fn parse(
bytes: &'a [u8],
shdrs: &[SectionHeader],
ctx: Ctx,
) -> Result<Option<VerneedSection<'a>>>
pub fn parse( bytes: &'a [u8], shdrs: &[SectionHeader], ctx: Ctx, ) -> Result<Option<VerneedSection<'a>>>
Try to parse the optional SHT_GNU_VERNEED
section.
Sourcepub fn iter(&'a self) -> VerneedIter<'a> ⓘ
pub fn iter(&'a self) -> VerneedIter<'a> ⓘ
Get an iterator over the Verneed
entries.
Trait Implementations§
Source§impl<'a> Debug for VerneedSection<'a>
impl<'a> Debug for VerneedSection<'a>
Source§impl<'a> IntoIterator for &VerneedSection<'a>
impl<'a> IntoIterator for &VerneedSection<'a>
Auto Trait Implementations§
impl<'a> Freeze for VerneedSection<'a>
impl<'a> RefUnwindSafe for VerneedSection<'a>
impl<'a> Send for VerneedSection<'a>
impl<'a> Sync for VerneedSection<'a>
impl<'a> Unpin for VerneedSection<'a>
impl<'a> UnwindSafe for VerneedSection<'a>
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