pub struct ElfSegment {
pub segment_type: SegmentType,
pub virtual_addr: u64,
pub physical_addr: u64,
pub file_offset: u64,
pub file_size: u64,
pub memory_size: u64,
pub flags: u32,
pub alignment: u64,
}Expand description
ELF segment information
Fields§
§segment_type: SegmentType§virtual_addr: u64§physical_addr: u64§file_offset: u64§file_size: u64§memory_size: u64§flags: u32§alignment: u64Trait Implementations§
Source§impl Clone for ElfSegment
impl Clone for ElfSegment
Source§fn clone(&self) -> ElfSegment
fn clone(&self) -> ElfSegment
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ElfSegment
impl RefUnwindSafe for ElfSegment
impl Send for ElfSegment
impl Sync for ElfSegment
impl Unpin for ElfSegment
impl UnwindSafe for ElfSegment
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)