pub struct Custom<'a> {
pub span: Span,
pub name: &'a str,
pub place: CustomPlace,
pub data: Vec<&'a [u8]>,
}
Expand description
A wasm custom section within a module.
Fields
span: Span
Where this @custom
was defined.
name: &'a str
Name of the custom section.
place: CustomPlace
Where the custom section is being placed,
data: Vec<&'a [u8]>
Payload of this custom section.
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more