Struct libc::segment_command
source · #[repr(C)]pub struct segment_command {
pub cmd: u32,
pub cmdsize: u32,
pub segname: [c_char; 16],
pub vmaddr: u32,
pub vmsize: u32,
pub fileoff: u32,
pub filesize: u32,
pub maxprot: vm_prot_t,
pub initprot: vm_prot_t,
pub nsects: u32,
pub flags: u32,
}
Fields§
§cmd: u32
§cmdsize: u32
§segname: [c_char; 16]
§vmaddr: u32
§vmsize: u32
§fileoff: u32
§filesize: u32
§maxprot: vm_prot_t
§initprot: vm_prot_t
§nsects: u32
§flags: u32
Trait Implementations§
source§impl Clone for segment_command
impl Clone for segment_command
source§fn clone(&self) -> segment_command
fn clone(&self) -> segment_command
Returns a copy 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 moresource§impl Debug for segment_command
impl Debug for segment_command
source§impl Hash for segment_command
impl Hash for segment_command
source§impl PartialEq for segment_command
impl PartialEq for segment_command
source§fn eq(&self, other: &segment_command) -> bool
fn eq(&self, other: &segment_command) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.