[][src]Struct metagoblin::mach::load_command::SegmentCommand64

#[repr(C)]pub struct SegmentCommand64 {
    pub cmd: u32,
    pub cmdsize: u32,
    pub segname: [u8; 16],
    pub vmaddr: u64,
    pub vmsize: u64,
    pub fileoff: u64,
    pub filesize: u64,
    pub maxprot: u32,
    pub initprot: u32,
    pub nsects: u32,
    pub flags: u32,
}

Fields

cmd: u32cmdsize: u32segname: [u8; 16]vmaddr: u64vmsize: u64fileoff: u64filesize: u64maxprot: u32initprot: u32nsects: u32flags: u32

Implementations

impl SegmentCommand64[src]

pub fn name(&self) -> Result<&str, Error>[src]

Trait Implementations

impl Clone for SegmentCommand64[src]

impl Copy for SegmentCommand64[src]

impl Debug for SegmentCommand64[src]

impl<'a> From<Segment<'a>> for SegmentCommand64[src]

impl FromCtx<Endian, [u8]> for SegmentCommand64[src]

impl<'a> IntoCtx<Endian, [u8]> for &'a SegmentCommand64[src]

impl IntoCtx<Endian, [u8]> for SegmentCommand64[src]

impl SizeWith<Endian> for SegmentCommand64[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for SegmentCommand64 where
    SegmentCommand64: 'a, 
[src]

type Error = Error

impl TryIntoCtx<Endian, [u8]> for SegmentCommand64[src]

type Error = Error

impl<'a> TryIntoCtx<Endian, [u8]> for &'a SegmentCommand64[src]

type Error = Error

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.