Struct goblin::mach::load_command::PrebindCksumCommand
source · [−]Expand description
The prebind_cksum_command contains the value of the original check sum for prebound files or zero. When a prebound file is first created or modified for other than updating its prebinding information the value of the check sum is set to zero. When the file has it prebinding re-done and if the value of the check sum is zero the original check sum is calculated and stored in cksum field of this load command in the output file. If when the prebinding is re-done and the cksum field is non-zero it is left unchanged from the input file.
Fields
cmd: u32
LC_PREBIND_CKSUM
cmdsize: u32
sizeof(struct prebind_cksum_command)
cksum: u32
the check sum or zero
Trait Implementations
sourceimpl Clone for PrebindCksumCommand
impl Clone for PrebindCksumCommand
sourcefn clone(&self) -> PrebindCksumCommand
fn clone(&self) -> PrebindCksumCommand
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 PrebindCksumCommand
impl Debug for PrebindCksumCommand
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for PrebindCksumCommand where
PrebindCksumCommand: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for PrebindCksumCommand where
PrebindCksumCommand: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a PrebindCksumCommand
impl<'a> TryIntoCtx<Endian, [u8]> for &'a PrebindCksumCommand
sourceimpl TryIntoCtx<Endian, [u8]> for PrebindCksumCommand
impl TryIntoCtx<Endian, [u8]> for PrebindCksumCommand
impl Copy for PrebindCksumCommand
Auto Trait Implementations
impl RefUnwindSafe for PrebindCksumCommand
impl Send for PrebindCksumCommand
impl Sync for PrebindCksumCommand
impl Unpin for PrebindCksumCommand
impl UnwindSafe for PrebindCksumCommand
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more