Struct object::macho::LinkeditDataCommand
source · [−]#[repr(C)]pub struct LinkeditDataCommand<E: Endian> {
pub cmd: U32<E>,
pub cmdsize: U32<E>,
pub dataoff: U32<E>,
pub datasize: U32<E>,
}
Fields
cmd: U32<E>
LC_CODE_SIGNATURE
, LC_SEGMENT_SPLIT_INFO
, LC_FUNCTION_STARTS
,
LC_DATA_IN_CODE
, LC_DYLIB_CODE_SIGN_DRS
, LC_LINKER_OPTIMIZATION_HINT
,
LC_DYLD_EXPORTS_TRIE
, or LC_DYLD_CHAINED_FIXUPS
.
cmdsize: U32<E>
sizeof(struct LinkeditDataCommand)
dataoff: U32<E>
file offset of data in __LINKEDIT segment
datasize: U32<E>
file size of data in __LINKEDIT segment
Trait Implementations
sourceimpl<E: Clone + Endian> Clone for LinkeditDataCommand<E>
impl<E: Clone + Endian> Clone for LinkeditDataCommand<E>
sourcefn clone(&self) -> LinkeditDataCommand<E>
fn clone(&self) -> LinkeditDataCommand<E>
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<E: Debug + Endian> Debug for LinkeditDataCommand<E>
impl<E: Debug + Endian> Debug for LinkeditDataCommand<E>
impl<E: Copy + Endian> Copy for LinkeditDataCommand<E>
impl<E: Endian> Pod for LinkeditDataCommand<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for LinkeditDataCommand<E> where
E: RefUnwindSafe,
impl<E> Send for LinkeditDataCommand<E> where
E: Send,
impl<E> Sync for LinkeditDataCommand<E> where
E: Sync,
impl<E> Unpin for LinkeditDataCommand<E> where
E: Unpin,
impl<E> UnwindSafe for LinkeditDataCommand<E> where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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