Struct goblin::mach::load_command::VersionMinCommand
source · #[repr(C)]pub struct VersionMinCommand {
pub cmd: u32,
pub cmdsize: u32,
pub version: u32,
pub sdk: u32,
}
Expand description
The version_min_command contains the min OS version on which this binary was built to run.
Fields§
§cmd: u32
LC_VERSION_MIN_MACOSX, LC_VERSION_MIN_IPHONEOS, LC_VERSION_MIN_TVOS, or LC_VERSION_MIN_WATCHOS.
cmdsize: u32
§version: u32
X.Y.Z is encoded in nibbles xxxx.yy.zz
sdk: u32
X.Y.Z is encoded in nibbles xxxx.yy.zz
Implementations§
Trait Implementations§
source§impl Clone for VersionMinCommand
impl Clone for VersionMinCommand
source§fn clone(&self) -> VersionMinCommand
fn clone(&self) -> VersionMinCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VersionMinCommand
impl Debug for VersionMinCommand
source§impl FromCtx<Endian> for VersionMinCommand
impl FromCtx<Endian> for VersionMinCommand
source§impl<'a> IntoCtx<Endian> for &'a VersionMinCommand
impl<'a> IntoCtx<Endian> for &'a VersionMinCommand
source§impl IntoCtx<Endian> for VersionMinCommand
impl IntoCtx<Endian> for VersionMinCommand
source§impl<'a> TryFromCtx<'a, Endian> for VersionMinCommandwhere
VersionMinCommand: 'a,
impl<'a> TryFromCtx<'a, Endian> for VersionMinCommandwhere VersionMinCommand: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a VersionMinCommand
impl<'a> TryIntoCtx<Endian> for &'a VersionMinCommand
source§impl TryIntoCtx<Endian> for VersionMinCommand
impl TryIntoCtx<Endian> for VersionMinCommand
impl Copy for VersionMinCommand
Auto Trait Implementations§
impl RefUnwindSafe for VersionMinCommand
impl Send for VersionMinCommand
impl Sync for VersionMinCommand
impl Unpin for VersionMinCommand
impl UnwindSafe for VersionMinCommand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more