#[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: u32LC_SUB_FRAMEWORK
cmdsize: u32includes umbrella string
umbrella: u32the 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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubFrameworkCommand
Source§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
Auto Trait Implementations§
impl Freeze for SubFrameworkCommand
impl RefUnwindSafe for SubFrameworkCommand
impl Send for SubFrameworkCommand
impl Sync for SubFrameworkCommand
impl Unpin for SubFrameworkCommand
impl UnsafeUnpin 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