Struct goblin::mach::load_command::Dylib [−][src]
A dynamically linked shared library (fipub constype == MH_DYLIB in the mach header) contains a dylib_command (cmd == LC_ID_DYLIB) to identify the library. An object that uses a dynamically linked shared library also contains a dylib_command (cmd == LC_LOAD_DYLIB, LC_LOAD_WEAK_DYLIB, or LC_REEXPORT_DYLIB) for each library it uses.
Fields
name: LcStr
library’s path name
timestamp: u32
library’s build time stamp
current_version: u32
library’s current version number
compatibility_version: u32
library’s compatibility vers number
Trait Implementations
impl Clone for Dylib
[src]
impl Copy for Dylib
[src]
impl Debug for Dylib
[src]
impl FromCtx<Endian, [u8]> for Dylib
[src]
impl<'a> IntoCtx<Endian, [u8]> for &'a Dylib
[src]
impl IntoCtx<Endian, [u8]> for Dylib
[src]
impl SizeWith<Endian> for Dylib
[src]
impl<'a> TryFromCtx<'a, Endian, [u8]> for Dylib where
Dylib: 'a,
[src]
Dylib: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
impl<'a> TryIntoCtx<Endian, [u8]> for &'a Dylib
[src]
type Error = Error
fn try_into_ctx(self, dst: &mut [u8], ctx: Endian) -> Result<usize, Self::Error>
[src]
impl TryIntoCtx<Endian, [u8]> for Dylib
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dylib
impl Send for Dylib
impl Sync for Dylib
impl Unpin for Dylib
impl UnwindSafe for Dylib
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,