Struct goblin::mach::load_command::SubFrameworkCommand
source · #[repr(C)]pub struct SubFrameworkCommand {
pub cmd: u32,
pub cmdsize: u32,
pub umbrella: u32,
}
Expand description
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§
source§impl Clone for SubFrameworkCommand
impl Clone for SubFrameworkCommand
source§fn clone(&self) -> SubFrameworkCommand
fn clone(&self) -> SubFrameworkCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubFrameworkCommand
impl Debug for SubFrameworkCommand
source§impl FromCtx<Endian> for SubFrameworkCommand
impl FromCtx<Endian> for SubFrameworkCommand
source§impl<'a> IntoCtx<Endian> for &'a SubFrameworkCommand
impl<'a> IntoCtx<Endian> for &'a SubFrameworkCommand
source§impl IntoCtx<Endian> for SubFrameworkCommand
impl IntoCtx<Endian> for SubFrameworkCommand
source§impl<'a> TryFromCtx<'a, Endian> for SubFrameworkCommandwhere
SubFrameworkCommand: 'a,
impl<'a> TryFromCtx<'a, Endian> for SubFrameworkCommandwhere SubFrameworkCommand: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a SubFrameworkCommand
impl<'a> TryIntoCtx<Endian> for &'a SubFrameworkCommand
source§impl TryIntoCtx<Endian> for SubFrameworkCommand
impl TryIntoCtx<Endian> for SubFrameworkCommand
impl Copy for SubFrameworkCommand
Auto Trait Implementations§
impl RefUnwindSafe for SubFrameworkCommand
impl Send for SubFrameworkCommand
impl Sync for SubFrameworkCommand
impl Unpin for SubFrameworkCommand
impl UnwindSafe for SubFrameworkCommand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more