Struct goblin::mach::load_command::SegmentCommand32
source · [−]#[repr(C)]pub struct SegmentCommand32 {
pub cmd: u32,
pub cmdsize: u32,
pub segname: [u8; 16],
pub vmaddr: u32,
pub vmsize: u32,
pub fileoff: u32,
pub filesize: u32,
pub maxprot: u32,
pub initprot: u32,
pub nsects: u32,
pub flags: u32,
}
Fields
cmd: u32
cmdsize: u32
segname: [u8; 16]
vmaddr: u32
vmsize: u32
fileoff: u32
filesize: u32
maxprot: u32
initprot: u32
nsects: u32
flags: u32
Implementations
Trait Implementations
sourceimpl Clone for SegmentCommand32
impl Clone for SegmentCommand32
sourcefn clone(&self) -> SegmentCommand32
fn clone(&self) -> SegmentCommand32
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 more
sourceimpl Debug for SegmentCommand32
impl Debug for SegmentCommand32
sourceimpl<'a> From<Segment<'a>> for SegmentCommand32
impl<'a> From<Segment<'a>> for SegmentCommand32
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for SegmentCommand32 where
SegmentCommand32: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for SegmentCommand32 where
SegmentCommand32: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a SegmentCommand32
impl<'a> TryIntoCtx<Endian, [u8]> for &'a SegmentCommand32
sourceimpl TryIntoCtx<Endian, [u8]> for SegmentCommand32
impl TryIntoCtx<Endian, [u8]> for SegmentCommand32
impl Copy for SegmentCommand32
Auto Trait Implementations
impl RefUnwindSafe for SegmentCommand32
impl Send for SegmentCommand32
impl Sync for SegmentCommand32
impl Unpin for SegmentCommand32
impl UnwindSafe for SegmentCommand32
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more