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