pub struct VersymSection<'a> { /* private fields */ }
Expand description
Helper struct to iterate over Symbol Version entries.
Implementations
sourceimpl<'a> VersymSection<'a>
impl<'a> VersymSection<'a>
pub fn parse(
bytes: &'a [u8],
shdrs: &[SectionHeader],
ctx: Ctx
) -> Result<Option<VersymSection<'a>>>
sourcepub fn iter(&'a self) -> VersymIter<'a>ⓘNotable traits for VersymIter<'a>impl<'a> Iterator for VersymIter<'a> type Item = Versym;
pub fn iter(&'a self) -> VersymIter<'a>ⓘNotable traits for VersymIter<'a>impl<'a> Iterator for VersymIter<'a> type Item = Versym;
Get an iterator over the Versym
entries.
Trait Implementations
sourceimpl<'a> Debug for VersymSection<'a>
impl<'a> Debug for VersymSection<'a>
sourceimpl<'a> IntoIterator for &VersymSection<'a>
impl<'a> IntoIterator for &VersymSection<'a>
type Item = <VersymIter<'a> as Iterator>::Item
type Item = <VersymIter<'a> as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = VersymIter<'a>
type IntoIter = VersymIter<'a>
Which kind of iterator are we turning this into?
Auto Trait Implementations
impl<'a> RefUnwindSafe for VersymSection<'a>
impl<'a> Send for VersymSection<'a>
impl<'a> Sync for VersymSection<'a>
impl<'a> Unpin for VersymSection<'a>
impl<'a> UnwindSafe for VersymSection<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more