#[repr(C)]pub struct Dylib {
pub name: LcStr,
pub timestamp: u32,
pub current_version: u32,
pub compatibility_version: u32,
}
Expand description
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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more