Struct object::macho::BuildVersionCommand
source · #[repr(C)]pub struct BuildVersionCommand<E: Endian> {
pub cmd: U32<E>,
pub cmdsize: U32<E>,
pub platform: U32<E>,
pub minos: U32<E>,
pub sdk: U32<E>,
pub ntools: U32<E>,
}
Fields§
§cmd: U32<E>
LC_BUILD_VERSION
cmdsize: U32<E>
sizeof(struct BuildVersionCommand) plus ntools * sizeof(struct BuildToolVersion)
platform: U32<E>
platform
minos: U32<E>
X.Y.Z is encoded in nibbles xxxx.yy.zz
sdk: U32<E>
X.Y.Z is encoded in nibbles xxxx.yy.zz
ntools: U32<E>
number of tool entries following this
Trait Implementations§
source§impl<E: Clone + Endian> Clone for BuildVersionCommand<E>
impl<E: Clone + Endian> Clone for BuildVersionCommand<E>
source§fn clone(&self) -> BuildVersionCommand<E>
fn clone(&self) -> BuildVersionCommand<E>
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 moreimpl<E: Copy + Endian> Copy for BuildVersionCommand<E>
impl<E: Endian> Pod for BuildVersionCommand<E>
Auto Trait Implementations§
impl<E> Freeze for BuildVersionCommand<E>
impl<E> RefUnwindSafe for BuildVersionCommand<E>where
E: RefUnwindSafe,
impl<E> Send for BuildVersionCommand<E>where
E: Send,
impl<E> Sync for BuildVersionCommand<E>where
E: Sync,
impl<E> Unpin for BuildVersionCommand<E>where
E: Unpin,
impl<E> UnwindSafe for BuildVersionCommand<E>where
E: UnwindSafe,
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