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 · 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 segment_command
impl Debug for segment_command
source§impl Hash for segment_command
impl Hash for segment_command
source§impl PartialEq<segment_command> for segment_command
impl PartialEq<segment_command> 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 ==
.impl Copy for segment_command
impl Eq for segment_command
impl StructuralEq for segment_command
impl StructuralPartialEq for segment_command
Auto Trait Implementations§
impl RefUnwindSafe for segment_command
impl Send for segment_command
impl Sync for segment_command
impl Unpin for segment_command
impl UnwindSafe for segment_command
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