Struct atom_macho::load_command::build_version::BuildVersionCommand
source · [−]pub struct BuildVersionCommand {
pub cmd: u32,
pub cmdsize: u32,
pub platform: Platform,
pub minos: Version,
pub sdk: Version,
pub ntools: u32,
}
Expand description
The build_version_command contains the min OS version on which this binary was built to run for its platform. The list of known platforms and tool values following it.
Fields
cmd: u32
cmdsize: u32
BuildVersion::SIZE + ntools * BuildToolVersion::SIZE
platform: Platform
minos: Version
X.Y.Z is encoded in nibbles xxxx.yy.zz
sdk: Version
X.Y.Z is encoded in nibbles xxxx.yy.zz
ntools: u32
Implementations
Trait Implementations
sourceimpl Clone for BuildVersionCommand
impl Clone for BuildVersionCommand
sourcefn clone(&self) -> BuildVersionCommand
fn clone(&self) -> BuildVersionCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuildVersionCommand
impl Debug for BuildVersionCommand
sourceimpl PartialEq<BuildVersionCommand> for BuildVersionCommand
impl PartialEq<BuildVersionCommand> for BuildVersionCommand
sourcefn eq(&self, other: &BuildVersionCommand) -> bool
fn eq(&self, other: &BuildVersionCommand) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BuildVersionCommand) -> bool
fn ne(&self, other: &BuildVersionCommand) -> bool
This method tests for !=
.
impl Eq for BuildVersionCommand
impl StructuralEq for BuildVersionCommand
impl StructuralPartialEq for BuildVersionCommand
Auto Trait Implementations
impl RefUnwindSafe for BuildVersionCommand
impl Send for BuildVersionCommand
impl Sync for BuildVersionCommand
impl Unpin for BuildVersionCommand
impl UnwindSafe for BuildVersionCommand
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
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.
sourcefn clone_into(&self, target: &mut T)
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