[][src]Struct goblin::mach::load_command::SubFrameworkCommand

#[repr(C)]
pub struct SubFrameworkCommand {
    pub cmd: u32,
    pub cmdsize: u32,
    pub umbrella: u32,
}

A dynamically linked shared library may be a subframework of an umbrella framework. If so it will be linked with "-umbrella umbrella_name" where Where "umbrella_name" is the name of the umbrella framework. A subframework can only be linked against by its umbrella framework or other subframeworks that are part of the same umbrella framework. Otherwise the static link editor produces an error and states to link against the umbrella framework. The name of the umbrella framework for subframeworks is recorded in the following structure.

Fields

cmd: u32

LC_SUB_FRAMEWORK

cmdsize: u32

includes umbrella string

umbrella: u32

the umbrella framework name

Trait Implementations

impl Clone for SubFrameworkCommand[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for SubFrameworkCommand[src]

impl Debug for SubFrameworkCommand[src]

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

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

type Error = Error

type Size = usize

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

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

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

type Error = Error

type Size = usize

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

type Error = Error

type Size = usize

impl SizeWith<Endian> for SubFrameworkCommand[src]

type Units = usize

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.

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

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

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