Struct goblin::mach::load_command::PrebindCksumCommand
source · #[repr(C)]pub struct PrebindCksumCommand {
pub cmd: u32,
pub cmdsize: u32,
pub cksum: u32,
}
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§
source§impl Clone for PrebindCksumCommand
impl Clone for PrebindCksumCommand
source§fn clone(&self) -> PrebindCksumCommand
fn clone(&self) -> PrebindCksumCommand
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 PrebindCksumCommand
impl Debug for PrebindCksumCommand
source§impl FromCtx<Endian> for PrebindCksumCommand
impl FromCtx<Endian> for PrebindCksumCommand
source§impl<'a> IntoCtx<Endian> for &'a PrebindCksumCommand
impl<'a> IntoCtx<Endian> for &'a PrebindCksumCommand
source§impl IntoCtx<Endian> for PrebindCksumCommand
impl IntoCtx<Endian> for PrebindCksumCommand
source§impl<'a> TryFromCtx<'a, Endian> for PrebindCksumCommandwhere
PrebindCksumCommand: 'a,
impl<'a> TryFromCtx<'a, Endian> for PrebindCksumCommandwhere PrebindCksumCommand: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a PrebindCksumCommand
impl<'a> TryIntoCtx<Endian> for &'a PrebindCksumCommand
source§impl TryIntoCtx<Endian> for PrebindCksumCommand
impl TryIntoCtx<Endian> 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§
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