#[repr(C)]pub struct DyldCacheMappingAndSlideInfo<E: Endian> {
pub address: U64<E>,
pub size: U64<E>,
pub file_offset: U64<E>,
pub slide_info_file_offset: U64<E>,
pub slide_info_file_size: U64<E>,
pub flags: U64<E>,
pub max_prot: U32<E>,
pub init_prot: U32<E>,
}
Expand description
Corresponds to struct dyld_cache_mapping_and_slide_info from dyld_cache_format.h.
Fields§
§address: U64<E>
§size: U64<E>
§file_offset: U64<E>
§slide_info_file_offset: U64<E>
§slide_info_file_size: U64<E>
§flags: U64<E>
§max_prot: U32<E>
§init_prot: U32<E>
Implementations§
Source§impl<E: Endian> DyldCacheMappingAndSlideInfo<E>
impl<E: Endian> DyldCacheMappingAndSlideInfo<E>
Sourcepub fn slide<'data, R: ReadRef<'data>>(
&self,
endian: E,
data: R,
) -> Result<DyldCacheSlideInfo<'data, E>>
pub fn slide<'data, R: ReadRef<'data>>( &self, endian: E, data: R, ) -> Result<DyldCacheSlideInfo<'data, E>>
Return the (optional) array of slide information structs
Trait Implementations§
Source§impl<E: Clone + Endian> Clone for DyldCacheMappingAndSlideInfo<E>
impl<E: Clone + Endian> Clone for DyldCacheMappingAndSlideInfo<E>
Source§fn clone(&self) -> DyldCacheMappingAndSlideInfo<E>
fn clone(&self) -> DyldCacheMappingAndSlideInfo<E>
Returns a duplicate 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 moreimpl<E: Copy + Endian> Copy for DyldCacheMappingAndSlideInfo<E>
impl<E: Endian> Pod for DyldCacheMappingAndSlideInfo<E>
Auto Trait Implementations§
impl<E> Freeze for DyldCacheMappingAndSlideInfo<E>
impl<E> RefUnwindSafe for DyldCacheMappingAndSlideInfo<E>where
E: RefUnwindSafe,
impl<E> Send for DyldCacheMappingAndSlideInfo<E>where
E: Send,
impl<E> Sync for DyldCacheMappingAndSlideInfo<E>where
E: Sync,
impl<E> Unpin for DyldCacheMappingAndSlideInfo<E>where
E: Unpin,
impl<E> UnwindSafe for DyldCacheMappingAndSlideInfo<E>where
E: UnwindSafe,
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