pub enum Custom<'a> {
Raw(RawCustomSection<'a>),
Producers(Producers<'a>),
Dylink0(Dylink0<'a>),
}
Expand description
A custom section within a wasm module.
Variants§
Raw(RawCustomSection<'a>)
A raw custom section with the manual placement and bytes specified.
Producers(Producers<'a>)
A producers custom section.
Dylink0(Dylink0<'a>)
The dylink.0
custom section
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Custom<'a>
impl<'a> RefUnwindSafe for Custom<'a>
impl<'a> Send for Custom<'a>
impl<'a> Sync for Custom<'a>
impl<'a> Unpin for Custom<'a>
impl<'a> UnwindSafe for Custom<'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