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
Implementations§
Source§impl SectionTy
impl SectionTy
pub fn read(wasm: &mut WasmReader<'_>) -> Result<Self, ValidationError>
Trait Implementations§
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