Struct EntryPointCommand

struct EntryPointCommand<E: Endian> { ... }

Fields

cmd: crate::endian::U32<E>

LC_MAIN only used in MH_EXECUTE filetypes

cmdsize: crate::endian::U32<E>

24

entryoff: crate::endian::U64<E>

file (__TEXT) offset of main()

stacksize: crate::endian::U64<E>

if not zero, initial stack size

Implementations

impl<E> Freeze for EntryPointCommand<E>

impl<E> RefUnwindSafe for EntryPointCommand<E>

impl<E> Send for EntryPointCommand<E>

impl<E> Sync for EntryPointCommand<E>

impl<E> Unpin for EntryPointCommand<E>

impl<E> UnwindSafe for EntryPointCommand<E>

impl<E: $crate::clone::Clone + Endian> Clone for EntryPointCommand<E>

fn clone(self: &Self) -> EntryPointCommand<E>

impl<E: $crate::fmt::Debug + Endian> Debug for EntryPointCommand<E>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<E: $crate::marker::Copy + Endian> Copy for EntryPointCommand<E>

impl<E: Endian> Pod for EntryPointCommand<E>

impl<T> Any for EntryPointCommand<E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EntryPointCommand<E>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for EntryPointCommand<E>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for EntryPointCommand<E>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for EntryPointCommand<E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for EntryPointCommand<E>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for EntryPointCommand<E>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for EntryPointCommand<E>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for EntryPointCommand<E>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>