pub struct SegmentCommand64 {
pub cmd: u32,
pub cmdsize: u32,
pub segname: String,
pub vmaddr: u64,
pub vmsize: u64,
pub fileoff: u64,
pub filesize: u64,
pub maxprot: i32,
pub initprot: i32,
pub nsects: u32,
pub flags: u32,
}Fields§
§cmd: u32SegmentCommand64::TYPE
cmdsize: u32includes sizeof Section64 structs
segname: Stringsegment name. 16byte
vmaddr: u64memory address of this segment
vmsize: u64memory size of this segment
fileoff: u64file offset of this segment
filesize: u64amount to map from the file
maxprot: i32maximum VM protection
initprot: i32initial VM protection
nsects: u32number of sections in segment
flags: u32flags
Implementations§
Trait Implementations§
Source§impl Clone for SegmentCommand64
impl Clone for SegmentCommand64
Source§fn clone(&self) -> SegmentCommand64
fn clone(&self) -> SegmentCommand64
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentCommand64
impl Debug for SegmentCommand64
Source§impl PartialEq for SegmentCommand64
impl PartialEq for SegmentCommand64
impl Eq for SegmentCommand64
impl StructuralPartialEq for SegmentCommand64
Auto Trait Implementations§
impl Freeze for SegmentCommand64
impl RefUnwindSafe for SegmentCommand64
impl Send for SegmentCommand64
impl Sync for SegmentCommand64
impl Unpin for SegmentCommand64
impl UnwindSafe for SegmentCommand64
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