Struct mach_object::DyLib [−][src]
pub struct DyLib { pub name: LcString, pub timestamp: u32, pub current_version: VersionTag, pub compatibility_version: VersionTag, }
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 Debug for DyLib
[src]
impl Debug for DyLib
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for DyLib
[src]
impl Default for DyLib
impl Clone for DyLib
[src]
impl Clone for DyLib
fn clone(&self) -> DyLib
[src]
fn clone(&self) -> DyLib
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for DyLib
[src]
impl PartialEq for DyLib
fn eq(&self, other: &DyLib) -> bool
[src]
fn eq(&self, other: &DyLib) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DyLib) -> bool
[src]
fn ne(&self, other: &DyLib) -> bool
This method tests for !=
.
impl Eq for DyLib
[src]
impl Eq for DyLib