Struct goblin::mach::load_command::LinkeditDataCommand [−][src]
The linkedit_data_command contains the offsets and sizes of a blob of data in the __LINKEDIT segment.
Fields
cmd: u32
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
sizeof(struct linkedit_data_command)
dataoff: u32
file offset of data in __LINKEDIT segment
datasize: u32
file size of data in __LINKEDIT segment
Trait Implementations
impl Clone for LinkeditDataCommand
[src]
fn clone(&self) -> LinkeditDataCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LinkeditDataCommand
[src]
impl Debug for LinkeditDataCommand
[src]
impl FromCtx<Endian, [u8]> for LinkeditDataCommand
[src]
impl<'a> IntoCtx<Endian, [u8]> for &'a LinkeditDataCommand
[src]
impl IntoCtx<Endian, [u8]> for LinkeditDataCommand
[src]
impl SizeWith<Endian> for LinkeditDataCommand
[src]
impl<'a> TryFromCtx<'a, Endian, [u8]> for LinkeditDataCommand where
LinkeditDataCommand: 'a,
[src]
LinkeditDataCommand: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, usize), Self::Error>
impl<'a> TryIntoCtx<Endian, [u8]> for &'a LinkeditDataCommand
[src]
type Error = Error
fn try_into_ctx(self, dst: &mut [u8], ctx: Endian) -> Result<usize, Self::Error>
[src]
impl TryIntoCtx<Endian, [u8]> for LinkeditDataCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for LinkeditDataCommand
impl Send for LinkeditDataCommand
impl Sync for LinkeditDataCommand
impl Unpin for LinkeditDataCommand
impl UnwindSafe for LinkeditDataCommand
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,