Struct wasm::core::reader::section_header::SectionHeader
source · 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>
fn read(wasm: &mut WasmReader<'_>) -> Result<Self>
source§fn read_unvalidated(wasm: &mut WasmReader<'_>) -> Self
fn read_unvalidated(wasm: &mut WasmReader<'_>) -> Self
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