#[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
impl Copy for segment_command
Source§impl Debug for segment_command
impl Debug for segment_command
Source§impl Default for segment_command
impl Default for segment_command
impl Eq 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 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 UnsafeUnpin for segment_command
impl UnwindSafe for segment_command
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)