Struct goblin::mach::load_command::Section32 [−][src]
Fields
sectname: [u8; 16]
name of this section
segname: [u8; 16]
segment this section goes in
addr: u32
memory address of this section
size: u32
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)
Trait Implementations
impl Clone for Section32
[src]
impl Copy for Section32
[src]
impl Debug for Section32
[src]
impl From<Section> for Section32
[src]
impl From<Section32> for Section
[src]
impl FromCtx<Endian, [u8]> for Section32
[src]
impl<'a> IntoCtx<Endian, [u8]> for &'a Section32
[src]
impl IntoCtx<Endian, [u8]> for Section32
[src]
impl SizeWith<Endian> for Section32
[src]
impl<'a> TryFromCtx<'a, Endian, [u8]> for Section32 where
Section32: 'a,
[src]
Section32: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
impl<'a> TryIntoCtx<Endian, [u8]> for &'a Section32
[src]
type Error = Error
fn try_into_ctx(self, dst: &mut [u8], ctx: Endian) -> Result<usize, Self::Error>
[src]
impl TryIntoCtx<Endian, [u8]> for Section32
[src]
Auto Trait Implementations
impl RefUnwindSafe for Section32
impl Send for Section32
impl Sync for Section32
impl Unpin for Section32
impl UnwindSafe for Section32
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,