Expand description
A loadable section of a CoffFile
.
Trait Implementations
sourceimpl<'data, 'file, R: Debug + ReadRef<'data>> Debug for CoffSegment<'data, 'file, R>
impl<'data, 'file, R: Debug + ReadRef<'data>> Debug for CoffSegment<'data, 'file, R>
sourceimpl<'data, 'file, R: ReadRef<'data>> ObjectSegment<'data> for CoffSegment<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> ObjectSegment<'data> for CoffSegment<'data, 'file, R>
sourcefn data(&self) -> Result<&'data [u8]>
fn data(&self) -> Result<&'data [u8]>
Returns a reference to the file contents of the segment. Read more
sourcefn data_range(&self, address: u64, size: u64) -> Result<Option<&'data [u8]>>
fn data_range(&self, address: u64, size: u64) -> Result<Option<&'data [u8]>>
Return the segment data in the given range. Read more
sourcefn flags(&self) -> SegmentFlags
fn flags(&self) -> SegmentFlags
Return the flags of segment.
Auto Trait Implementations
impl<'data, 'file, R> RefUnwindSafe for CoffSegment<'data, 'file, R> where
R: RefUnwindSafe,
impl<'data, 'file, R> Send for CoffSegment<'data, 'file, R> where
R: Sync,
impl<'data, 'file, R> Sync for CoffSegment<'data, 'file, R> where
R: Sync,
impl<'data, 'file, R> Unpin for CoffSegment<'data, 'file, R> where
'data: 'file,
impl<'data, 'file, R> UnwindSafe for CoffSegment<'data, 'file, R> where
R: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more