pub struct Segment<'a> { /* private fields */ }Implementations§
§impl<'a> Segment<'a>
impl<'a> Segment<'a>
pub fn content(&self) -> &[u8] ⓘ
pub fn p_type(&self) -> Type
pub fn flags(&self) -> u32
pub fn file_offset(&self) -> u64
pub fn virtual_address(&self) -> u64
pub fn physical_address(&self) -> u64
pub fn physical_size(&self) -> u64
pub fn virtual_size(&self) -> u64
pub fn alignment(&self) -> u64
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Segment<'a>
impl<'a> !Send for Segment<'a>
impl<'a> !Sync for Segment<'a>
impl<'a> Unpin for Segment<'a>
impl<'a> UnwindSafe for Segment<'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