pub struct RawCustomSection<'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: SpanWhere this @custom was defined.
name: &'a strName of the custom section.
place: CustomPlaceWhere the custom section is being placed,
data: Vec<&'a [u8]>Payload of this custom section.
Trait Implementations§
Source§impl<'a> Debug for RawCustomSection<'a>
impl<'a> Debug for RawCustomSection<'a>
Auto Trait Implementations§
impl<'a> Freeze for RawCustomSection<'a>
impl<'a> RefUnwindSafe for RawCustomSection<'a>
impl<'a> Send for RawCustomSection<'a>
impl<'a> Sync for RawCustomSection<'a>
impl<'a> Unpin for RawCustomSection<'a>
impl<'a> UnwindSafe for RawCustomSection<'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