pub struct ObjectSectionInfo<O>(/* private fields */);
Expand description
A wrapper to implement ModuleSectionInfo
for a type implementing Object
.
Implementations§
Source§impl<O> ObjectSectionInfo<O>
impl<O> ObjectSectionInfo<O>
Trait Implementations§
Source§impl<O> Deref for ObjectSectionInfo<O>
impl<O> Deref for ObjectSectionInfo<O>
Source§impl<O> DerefMut for ObjectSectionInfo<O>
impl<O> DerefMut for ObjectSectionInfo<O>
Source§impl<'data: 'file, 'file, O, D> ModuleSectionInfo<D> for &'file ObjectSectionInfo<O>
impl<'data: 'file, 'file, O, D> ModuleSectionInfo<D> for &'file ObjectSectionInfo<O>
Source§fn section_svma_range(&mut self, name: &[u8]) -> Option<Range<u64>>
fn section_svma_range(&mut self, name: &[u8]) -> Option<Range<u64>>
Get the given section’s memory range, as stated in the module.
Source§fn section_data(&mut self, name: &[u8]) -> Option<D>
fn section_data(&mut self, name: &[u8]) -> Option<D>
Get the given section’s data. This will only be called once per section.
Source§fn segment_svma_range(&mut self, name: &[u8]) -> Option<Range<u64>>
fn segment_svma_range(&mut self, name: &[u8]) -> Option<Range<u64>>
Get the given segment’s memory range, as stated in the module.
Source§fn segment_data(&mut self, name: &[u8]) -> Option<D>
fn segment_data(&mut self, name: &[u8]) -> Option<D>
Get the given segment’s data. This will only be called once per segment.
Auto Trait Implementations§
impl<O> Freeze for ObjectSectionInfo<O>where
O: Freeze,
impl<O> RefUnwindSafe for ObjectSectionInfo<O>where
O: RefUnwindSafe,
impl<O> Send for ObjectSectionInfo<O>where
O: Send,
impl<O> Sync for ObjectSectionInfo<O>where
O: Sync,
impl<O> Unpin for ObjectSectionInfo<O>where
O: Unpin,
impl<O> UnwindSafe for ObjectSectionInfo<O>where
O: UnwindSafe,
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