pub struct Verneed<'a> {
pub vn_version: u16,
pub vn_cnt: u16,
pub vn_file: usize,
pub vn_aux: u32,
pub vn_next: u32,
/* private fields */
}
Expand description
An ELF Version Need entry .
Fields
vn_version: u16
Version of structure. This value is currently set to 1, and will be reset if the versioning implementation is incompatibly altered.
vn_cnt: u16
Number of associated verneed array entries.
vn_file: usize
Offset to the file name string in the section header, in bytes.
vn_aux: u32
Offset to a corresponding entry in the vernaux array, in bytes.
vn_next: u32
Offset to the next verneed entry, in bytes.
Implementations
sourceimpl<'a> Verneed<'a>
impl<'a> Verneed<'a>
sourcepub fn iter(&'a self) -> VernauxIter<'a>ⓘNotable traits for VernauxIter<'a>impl<'a> Iterator for VernauxIter<'a> type Item = Vernaux;
pub fn iter(&'a self) -> VernauxIter<'a>ⓘNotable traits for VernauxIter<'a>impl<'a> Iterator for VernauxIter<'a> type Item = Vernaux;
Trait Implementations
sourceimpl<'a> IntoIterator for &Verneed<'a>
impl<'a> IntoIterator for &Verneed<'a>
type Item = <VernauxIter<'a> as Iterator>::Item
type Item = <VernauxIter<'a> as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = VernauxIter<'a>
type IntoIter = VernauxIter<'a>
Which kind of iterator are we turning this into?
Auto Trait Implementations
impl<'a> RefUnwindSafe for Verneed<'a>
impl<'a> Send for Verneed<'a>
impl<'a> Sync for Verneed<'a>
impl<'a> Unpin for Verneed<'a>
impl<'a> UnwindSafe for Verneed<'a>
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