pub enum Linking<'a> {
SegmentInfo(SegmentMap<'a>),
InitFuncs(InitFuncMap<'a>),
ComdatInfo(ComdatMap<'a>),
SymbolTable(SymbolInfoMap<'a>),
Unknown {
ty: u8,
data: &'a [u8],
range: Range<usize>,
},
}
Expand description
Represents a subsection read from the linking custom section.
Variants§
SegmentInfo(SegmentMap<'a>)
Extra metadata about the data segments.
InitFuncs(InitFuncMap<'a>)
A list of constructor functions to be called at startup.
ComdatInfo(ComdatMap<'a>)
The COMDAT groups of associated linking objects.
SymbolTable(SymbolInfoMap<'a>)
Extra information about the symbols present in the module.
Unknown
An unknown linking subsection.
Trait Implementations§
Source§impl<'a> Subsection<'a> for Linking<'a>
impl<'a> Subsection<'a> for Linking<'a>
Source§fn from_reader(id: u8, reader: BinaryReader<'a>) -> Result<Self>
fn from_reader(id: u8, reader: BinaryReader<'a>) -> Result<Self>
Converts the section identifier provided with the section contents into
a typed section
Auto Trait Implementations§
impl<'a> Freeze for Linking<'a>
impl<'a> RefUnwindSafe for Linking<'a>
impl<'a> Send for Linking<'a>
impl<'a> Sync for Linking<'a>
impl<'a> Unpin for Linking<'a>
impl<'a> UnwindSafe for Linking<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)