pub struct LoadSegment {
pub start: u64,
pub mem_size: u64,
pub data: Vec<u8>,
pub executable: bool,
pub writable: bool,
pub align: u64,
}Fields§
§start: u64§mem_size: u64§data: Vec<u8>§executable: boolWhether the segment is executable (PF_X set in p_flags).
writable: boolWhether the segment is writable (PF_W set in p_flags).
align: u64The segment’s alignment (p_align); zero or one means none.
Trait Implementations§
Source§impl Clone for LoadSegment
impl Clone for LoadSegment
Source§fn clone(&self) -> LoadSegment
fn clone(&self) -> LoadSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§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 LoadSegment
impl RefUnwindSafe for LoadSegment
impl Send for LoadSegment
impl Sync for LoadSegment
impl Unpin for LoadSegment
impl UnsafeUnpin for LoadSegment
impl UnwindSafe for LoadSegment
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