Struct mach_object::DyLib
source · [−]pub struct DyLib {
pub name: LcString,
pub timestamp: u32,
pub current_version: VersionTag,
pub compatibility_version: VersionTag,
}
Expand description
Dynamically linked shared libraries are identified by two things.
The pathname (the name of the library as found for execution), and the compatibility version number. The pathname must match and the compatibility number in the user of the library must be greater than or equal to the library being used. The time stamp is used to record the time a library was built and copied into user so it can be use to determined if the library used at runtime is exactly the same as used to built the program.
Fields
name: LcString
library’s path name
timestamp: u32
library’s build time stamp
current_version: VersionTag
library’s current version number
compatibility_version: VersionTag
library’s compatibility vers number
Trait Implementations
impl Eq for DyLib
impl StructuralEq for DyLib
impl StructuralPartialEq 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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more