pub enum HeaderPt2<'a> {
Header32(&'a HeaderPt2_<P32>),
Header64(&'a HeaderPt2_<P64>),
}
Variants§
Header32(&'a HeaderPt2_<P32>)
Header64(&'a HeaderPt2_<P64>)
Implementations§
source§impl<'a> HeaderPt2<'a>
impl<'a> HeaderPt2<'a>
pub fn size(&self) -> usize
pub fn type_(&self) -> Type_
pub fn machine(&self) -> Machine_
pub fn version(&self) -> u32
pub fn header_size(&self) -> u16
pub fn entry_point(&self) -> u64
pub fn ph_offset(&self) -> u64
pub fn sh_offset(&self) -> u64
pub fn ph_entry_size(&self) -> u16
pub fn ph_count(&self) -> u16
pub fn sh_entry_size(&self) -> u16
pub fn sh_count(&self) -> u16
pub fn sh_str_index(&self) -> u16
Trait Implementations§
impl<'a> Copy for HeaderPt2<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HeaderPt2<'a>
impl<'a> Send for HeaderPt2<'a>
impl<'a> Sync for HeaderPt2<'a>
impl<'a> Unpin for HeaderPt2<'a>
impl<'a> UnwindSafe for HeaderPt2<'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