#[non_exhaustive]pub enum DyldCacheSlideInfo<'data, E: Endian> {
None,
V2 {
slide: &'data DyldCacheSlideInfo2<E>,
page_starts: &'data [U16<E>],
page_extras: &'data [U16<E>],
},
V3 {
slide: &'data DyldCacheSlideInfo3<E>,
page_starts: &'data [U16<E>],
},
V5 {
slide: &'data DyldCacheSlideInfo5<E>,
page_starts: &'data [U16<E>],
},
}
Expand description
The slide info for a dyld cache mapping, including variable length arrays.
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.
Trait Implementations§
Source§impl<'data, E: Clone + Endian> Clone for DyldCacheSlideInfo<'data, E>
impl<'data, E: Clone + Endian> Clone for DyldCacheSlideInfo<'data, E>
Source§fn clone(&self) -> DyldCacheSlideInfo<'data, E>
fn clone(&self) -> DyldCacheSlideInfo<'data, E>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'data, E: Copy + Endian> Copy for DyldCacheSlideInfo<'data, E>
Auto Trait Implementations§
impl<'data, E> Freeze for DyldCacheSlideInfo<'data, E>
impl<'data, E> RefUnwindSafe for DyldCacheSlideInfo<'data, E>where
E: RefUnwindSafe,
impl<'data, E> Send for DyldCacheSlideInfo<'data, E>where
E: Sync,
impl<'data, E> Sync for DyldCacheSlideInfo<'data, E>where
E: Sync,
impl<'data, E> Unpin for DyldCacheSlideInfo<'data, E>
impl<'data, E> UnwindSafe for DyldCacheSlideInfo<'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