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: u32

SegmentCommand64::TYPE

cmdsize: u32

includes sizeof Section64 structs

segname: String

segment name. 16byte

vmaddr: u64

memory address of this segment

vmsize: u64

memory size of this segment

fileoff: u64

file offset of this segment

filesize: u64

amount to map from the file

maxprot: i32

maximum VM protection

initprot: i32

initial VM protection

nsects: u32

number of sections in segment

flags: u32

flags

Implementations

Byte size of SegmentCommand64 command. This does not include Section64 command size. So this is constant.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.