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: u32cmdsize: u32segname: [c_char; 16]vmaddr: u32vmsize: u32fileoff: u32filesize: u32maxprot: vm_prot_tinitprot: vm_prot_tnsects: u32flags: u32Trait Implementations
sourceimpl Clone for segment_command
impl Clone for segment_command
sourcefn clone(&self) -> segment_command
fn clone(&self) -> segment_command
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more