pub(crate) struct SectionHeader {
pub ty: SectionTy,
pub contents: Span,
}Fields§
§ty: SectionTy§contents: SpanImplementations§
Source§impl SectionHeader
impl SectionHeader
pub fn read(wasm: &mut WasmReader<'_>) -> Result<Self, ValidationError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SectionHeader
impl RefUnwindSafe for SectionHeader
impl Send for SectionHeader
impl Sync for SectionHeader
impl Unpin for SectionHeader
impl UnwindSafe for SectionHeader
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