Struct goblin::mach::load_command::SourceVersionCommand
source · [−]Expand description
The source_version_command is an optional load command containing the version of the sources used to build the binary.
Fields
cmd: u32
LC_SOURCE_VERSION
cmdsize: u32
version: u64
A.B.C.D.E packed as a24.b10.c10.d10.e10
Trait Implementations
sourceimpl Clone for SourceVersionCommand
impl Clone for SourceVersionCommand
sourcefn clone(&self) -> SourceVersionCommand
fn clone(&self) -> SourceVersionCommand
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 SourceVersionCommand
impl Debug for SourceVersionCommand
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for SourceVersionCommand where
SourceVersionCommand: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for SourceVersionCommand where
SourceVersionCommand: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a SourceVersionCommand
impl<'a> TryIntoCtx<Endian, [u8]> for &'a SourceVersionCommand
sourceimpl TryIntoCtx<Endian, [u8]> for SourceVersionCommand
impl TryIntoCtx<Endian, [u8]> for SourceVersionCommand
impl Copy for SourceVersionCommand
Auto Trait Implementations
impl RefUnwindSafe for SourceVersionCommand
impl Send for SourceVersionCommand
impl Sync for SourceVersionCommand
impl Unpin for SourceVersionCommand
impl UnwindSafe for SourceVersionCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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