pub enum SectionTy {
Show 13 variants
Custom = 0,
Type = 1,
Import = 2,
Function = 3,
Table = 4,
Memory = 5,
Global = 6,
Export = 7,
Start = 8,
Element = 9,
Code = 10,
Data = 11,
DataCount = 12,
}
Variants§
Custom = 0
Type = 1
Import = 2
Function = 3
Table = 4
Memory = 5
Global = 6
Export = 7
Start = 8
Element = 9
Code = 10
Data = 11
DataCount = 12
Trait Implementations§
source§impl WasmReadable for SectionTy
impl WasmReadable for SectionTy
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
impl Copy for SectionTy
impl Eq for SectionTy
impl StructuralPartialEq for SectionTy
Auto Trait Implementations§
impl Freeze for SectionTy
impl RefUnwindSafe for SectionTy
impl Send for SectionTy
impl Sync for SectionTy
impl Unpin for SectionTy
impl UnwindSafe for SectionTy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)