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

#[repr(C)]
pub struct Dylib {
    pub name: LcStr,
    pub timestamp: u32,
    pub current_version: u32,
    pub compatibility_version: u32,
}

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 Copy for Dylib[src]

impl Clone for Dylib[src]

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

Performs copy-assignment from source. Read more

impl Debug for Dylib[src]

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

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

type Error = Error

type Size = usize

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

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

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

type Error = Error

type Size = usize

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

type Error = Error

type Size = usize

impl SizeWith<Endian> for Dylib[src]

type Units = usize

Auto Trait Implementations

impl Send for Dylib

impl Unpin for Dylib

impl Sync for Dylib

impl UnwindSafe for Dylib

impl RefUnwindSafe for Dylib

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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