Struct Section32
struct Section32<E: Endian> { ... }
32-bit section.
Fields
sectname: [u8; 16]name of this section
segname: [u8; 16]segment this section goes in
addr: crate::endian::U32<E>memory address of this section
size: crate::endian::U32<E>size in bytes of this section
offset: crate::endian::U32<E>file offset of this section
align: crate::endian::U32<E>section alignment (power of 2)
reloff: crate::endian::U32<E>file offset of relocation entries
nreloc: crate::endian::U32<E>number of relocation entries
flags: crate::endian::U32<E>flags (section type and attributes)
reserved1: crate::endian::U32<E>reserved (for offset or index)
reserved2: crate::endian::U32<E>reserved (for count or sizeof)
Implementations
impl<E> Freeze for Section32<E>
impl<E> RefUnwindSafe for Section32<E>
impl<E> Send for Section32<E>
impl<E> Sync for Section32<E>
impl<E> Unpin for Section32<E>
impl<E> UnwindSafe for Section32<E>
impl<E: $crate::clone::Clone + Endian> Clone for Section32<E>
fn clone(self: &Self) -> Section32<E>
impl<E: $crate::fmt::Debug + Endian> Debug for Section32<E>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<E: $crate::marker::Copy + Endian> Copy for Section32<E>
impl<E: Endian> Pod for Section32<E>
impl<Endian: endian::Endian> Section for macho::Section32<Endian>
fn sectname(self: &Self) -> &[u8; 16]fn segname(self: &Self) -> &[u8; 16]fn addr(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn size(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn offset(self: &Self, endian: <Self as >::Endian) -> u32fn align(self: &Self, endian: <Self as >::Endian) -> u32fn reloff(self: &Self, endian: <Self as >::Endian) -> u32fn nreloc(self: &Self, endian: <Self as >::Endian) -> u32fn flags(self: &Self, endian: <Self as >::Endian) -> u32
impl<T> Any for Section32<E>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Section32<E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Section32<E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Section32<E>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Section32<E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Section32<E>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Section32<E>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Section32<E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Section32<E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>