Struct goblin::mach::load_command::SubLibraryCommand
source · [−]Expand description
A dynamically linked shared library may be a sub_library of another shared library. If so it will be linked with “-sub_library library_name” where Where “library_name” is the name of the sub_library shared library. When staticly linking when -twolevel_namespace is in effect a twolevel namespace shared library will only cause its subframeworks and those frameworks listed as sub_umbrella frameworks and libraries listed as sub_libraries to be implicited linked in. Any other dependent dynamic libraries will not be linked it when -twolevel_namespace is in effect. The primary library recorded by the static linker when resolving a symbol in these libraries will be the umbrella framework (or dynamic library). Zero or more sub_library shared libraries may be use by an umbrella framework or (or dynamic library). The name of a sub_library framework is recorded in the following structure. For example /usr/lib/libobjc_profile.A.dylib would be recorded as “libobjc”.
Fields
cmd: u32
LC_SUB_LIBRARY
cmdsize: u32
includes sub_library string
sub_library: LcStr
the sub_library name
Trait Implementations
sourceimpl Clone for SubLibraryCommand
impl Clone for SubLibraryCommand
sourcefn clone(&self) -> SubLibraryCommand
fn clone(&self) -> SubLibraryCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SubLibraryCommand
impl Debug for SubLibraryCommand
sourceimpl FromCtx<Endian, [u8]> for SubLibraryCommand
impl FromCtx<Endian, [u8]> for SubLibraryCommand
sourceimpl<'a> IntoCtx<Endian, [u8]> for &'a SubLibraryCommand
impl<'a> IntoCtx<Endian, [u8]> for &'a SubLibraryCommand
sourceimpl IntoCtx<Endian, [u8]> for SubLibraryCommand
impl IntoCtx<Endian, [u8]> for SubLibraryCommand
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for SubLibraryCommand where
SubLibraryCommand: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for SubLibraryCommand where
SubLibraryCommand: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a SubLibraryCommand
impl<'a> TryIntoCtx<Endian, [u8]> for &'a SubLibraryCommand
sourceimpl TryIntoCtx<Endian, [u8]> for SubLibraryCommand
impl TryIntoCtx<Endian, [u8]> for SubLibraryCommand
impl Copy for SubLibraryCommand
Auto Trait Implementations
impl RefUnwindSafe for SubLibraryCommand
impl Send for SubLibraryCommand
impl Sync for SubLibraryCommand
impl Unpin for SubLibraryCommand
impl UnwindSafe for SubLibraryCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more