pub(super) struct MachOSegmentInternal<'data, Mach: MachHeader, R: ReadRef<'data>> {
pub segment: &'data Mach::Segment,
pub data: R,
}
Fields§
§segment: &'data Mach::Segment
§data: R
The data for the file that contains the segment data.
This is required for dyld caches, where this may be a different subcache from the file containing the Mach-O load commands.
Trait Implementations§
source§impl<'data, Mach: Clone + MachHeader, R: Clone + ReadRef<'data>> Clone for MachOSegmentInternal<'data, Mach, R>
impl<'data, Mach: Clone + MachHeader, R: Clone + ReadRef<'data>> Clone for MachOSegmentInternal<'data, Mach, R>
source§fn clone(&self) -> MachOSegmentInternal<'data, Mach, R>
fn clone(&self) -> MachOSegmentInternal<'data, Mach, R>
Returns a copy 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 moresource§impl<'data, Mach: Debug + MachHeader, R: Debug + ReadRef<'data>> Debug for MachOSegmentInternal<'data, Mach, R>
impl<'data, Mach: Debug + MachHeader, R: Debug + ReadRef<'data>> Debug for MachOSegmentInternal<'data, Mach, R>
impl<'data, Mach: Copy + MachHeader, R: Copy + ReadRef<'data>> Copy for MachOSegmentInternal<'data, Mach, R>
Auto Trait Implementations§
impl<'data, Mach, R> Freeze for MachOSegmentInternal<'data, Mach, R>where
R: Freeze,
impl<'data, Mach, R> RefUnwindSafe for MachOSegmentInternal<'data, Mach, R>
impl<'data, Mach, R> Send for MachOSegmentInternal<'data, Mach, R>
impl<'data, Mach, R> Sync for MachOSegmentInternal<'data, Mach, R>
impl<'data, Mach, R> Unpin for MachOSegmentInternal<'data, Mach, R>where
R: Unpin,
impl<'data, Mach, R> UnwindSafe for MachOSegmentInternal<'data, Mach, R>
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