#[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: u32Trait 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 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 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
impl Copy for segment_command
impl Eq for segment_command
impl StructuralPartialEq for segment_command
Auto Trait Implementations§
impl Freeze for segment_command
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