pub enum Dylink0Subsection<'a> {
MemInfo {
memory_size: u32,
memory_align: u32,
table_size: u32,
table_align: u32,
},
Needed(Vec<&'a str>),
ExportInfo(Vec<(&'a str, u32)>),
ImportInfo(Vec<(&'a str, &'a str, u32)>),
}
Expand description
Possible subsections of the dylink.0
custom section
Variants§
MemInfo
Needed(Vec<&'a str>)
ExportInfo(Vec<(&'a str, u32)>)
ImportInfo(Vec<(&'a str, &'a str, u32)>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Dylink0Subsection<'a>
impl<'a> RefUnwindSafe for Dylink0Subsection<'a>
impl<'a> Send for Dylink0Subsection<'a>
impl<'a> Sync for Dylink0Subsection<'a>
impl<'a> Unpin for Dylink0Subsection<'a>
impl<'a> UnwindSafe for Dylink0Subsection<'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