Struct elf::gnu_symver::VerDefAux
source · pub struct VerDefAux {
pub vda_name: u32,
/* private fields */
}
Expand description
Version Definition Auxiliary Entries from the .gnu.version_d section
Fields§
§vda_name: u32
Offset to the version or dependency name string in the linked string table, in bytes.
Trait Implementations§
source§impl ParseAt for VerDefAux
impl ParseAt for VerDefAux
source§fn parse_at<E: EndianParse>(
endian: E,
_class: Class,
offset: &mut usize,
data: &[u8]
) -> Result<Self, ParseError>
fn parse_at<E: EndianParse>( endian: E, _class: Class, offset: &mut usize, data: &[u8] ) -> Result<Self, ParseError>
Parse this type by using the given endian-awareness and ELF class layout.
This is generic on EndianParse in order to allow users to optimize for
their expectations of data layout. See EndianParse for more details.
source§fn size_for(_class: Class) -> usize
fn size_for(_class: Class) -> usize
Returns the expected size of the type being parsed for the given ELF class
source§fn validate_entsize(class: Class, entsize: usize) -> Result<usize, ParseError>
fn validate_entsize(class: Class, entsize: usize) -> Result<usize, ParseError>
Checks whether the given entsize matches what we need to parse this type Read more
source§impl PartialEq for VerDefAux
impl PartialEq for VerDefAux
impl Eq for VerDefAux
impl StructuralEq for VerDefAux
impl StructuralPartialEq for VerDefAux
Auto Trait Implementations§
impl RefUnwindSafe for VerDefAux
impl Send for VerDefAux
impl Sync for VerDefAux
impl Unpin for VerDefAux
impl UnwindSafe for VerDefAux
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