pub struct MachOSegment<'data, 'file, Mach, R = &'data [u8]> where
'data: 'file,
Mach: MachHeader,
R: ReadRef<'data>, { /* private fields */ }
Expand description
A segment of a MachOFile
.
Trait Implementations
sourceimpl<'data, 'file, Mach: Debug, R: Debug> Debug for MachOSegment<'data, 'file, Mach, R> where
'data: 'file,
Mach: MachHeader,
R: ReadRef<'data>,
Mach::Segment: Debug,
impl<'data, 'file, Mach: Debug, R: Debug> Debug for MachOSegment<'data, 'file, Mach, R> where
'data: 'file,
Mach: MachHeader,
R: ReadRef<'data>,
Mach::Segment: Debug,
sourceimpl<'data, 'file, Mach, R> ObjectSegment<'data> for MachOSegment<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>,
impl<'data, 'file, Mach, R> ObjectSegment<'data> for MachOSegment<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>,
Auto Trait Implementations
impl<'data, 'file, Mach, R> RefUnwindSafe for MachOSegment<'data, 'file, Mach, R> where
Mach: RefUnwindSafe,
R: RefUnwindSafe,
<Mach as MachHeader>::Endian: RefUnwindSafe,
<Mach as MachHeader>::Nlist: RefUnwindSafe,
<Mach as MachHeader>::Section: RefUnwindSafe,
<Mach as MachHeader>::Segment: RefUnwindSafe,
impl<'data, 'file, Mach, R> Send for MachOSegment<'data, 'file, Mach, R> where
Mach: Sync,
R: Sync,
<Mach as MachHeader>::Endian: Sync,
<Mach as MachHeader>::Nlist: Sync,
<Mach as MachHeader>::Section: Sync,
<Mach as MachHeader>::Segment: Sync,
impl<'data, 'file, Mach, R> Sync for MachOSegment<'data, 'file, Mach, R> where
Mach: Sync,
R: Sync,
<Mach as MachHeader>::Endian: Sync,
<Mach as MachHeader>::Nlist: Sync,
<Mach as MachHeader>::Section: Sync,
<Mach as MachHeader>::Segment: Sync,
impl<'data, 'file, Mach, R> Unpin for MachOSegment<'data, 'file, Mach, R> where
'data: 'file,
impl<'data, 'file, Mach, R> UnwindSafe for MachOSegment<'data, 'file, Mach, R> where
Mach: RefUnwindSafe,
R: RefUnwindSafe,
<Mach as MachHeader>::Endian: RefUnwindSafe,
<Mach as MachHeader>::Nlist: RefUnwindSafe,
<Mach as MachHeader>::Section: RefUnwindSafe,
<Mach as MachHeader>::Segment: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more