#[non_exhaustive]pub enum DyldCacheMappingSlice<'data, E: Endian = Endianness> {
V1(&'data [DyldCacheMappingInfo<E>]),
V2(&'data [DyldCacheMappingAndSlideInfo<E>]),
}
Expand description
The array of mappings for a single dyld cache file.
The mappings gained slide info in dyld-832.7 (macOS 11) so this is an enum of the two possible slice types.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1(&'data [DyldCacheMappingInfo<E>])
V1, used before dyld-832.7.
V2(&'data [DyldCacheMappingAndSlideInfo<E>])
V2, used since dyld-832.7.
Trait Implementations§
Source§impl<'data, E: Clone + Endian> Clone for DyldCacheMappingSlice<'data, E>
impl<'data, E: Clone + Endian> Clone for DyldCacheMappingSlice<'data, E>
Source§fn clone(&self) -> DyldCacheMappingSlice<'data, E>
fn clone(&self) -> DyldCacheMappingSlice<'data, 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<'data, E: Copy + Endian> Copy for DyldCacheMappingSlice<'data, E>
Auto Trait Implementations§
impl<'data, E> Freeze for DyldCacheMappingSlice<'data, E>
impl<'data, E> RefUnwindSafe for DyldCacheMappingSlice<'data, E>where
E: RefUnwindSafe,
impl<'data, E> Send for DyldCacheMappingSlice<'data, E>where
E: Sync,
impl<'data, E> Sync for DyldCacheMappingSlice<'data, E>where
E: Sync,
impl<'data, E> Unpin for DyldCacheMappingSlice<'data, E>
impl<'data, E> UnwindSafe for DyldCacheMappingSlice<'data, E>where
E: RefUnwindSafe,
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