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

#[repr(C)]pub struct Section64 {
    pub sectname: [u8; 16],
    pub segname: [u8; 16],
    pub addr: u64,
    pub size: u64,
    pub offset: u32,
    pub align: u32,
    pub reloff: u32,
    pub nreloc: u32,
    pub flags: u32,
    pub reserved1: u32,
    pub reserved2: u32,
    pub reserved3: u32,
}

for 64-bit architectures

Fields

sectname: [u8; 16]

name of this section

segname: [u8; 16]

segment this section goes in

addr: u64

memory address of this section

size: u64

size in bytes of this section

offset: u32

file offset of this section

align: u32

section alignment (power of 2)

reloff: u32

file offset of relocation entries

nreloc: u32

number of relocation entries

flags: u32

flags (section type and attributes

reserved1: u32

reserved (for offset or index)

reserved2: u32

reserved (for count or sizeof)

reserved3: u32

reserved

Trait Implementations

impl Clone for Section64[src]

impl Copy for Section64[src]

impl Debug for Section64[src]

impl From<Section> for Section64[src]

impl From<Section64> for Section[src]

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

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

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

impl SizeWith<Endian> for Section64[src]

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

type Error = Error

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

type Error = Error

impl<'a> TryIntoCtx<Endian, [u8]> for &'a Section64[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.