#[repr(C)]pub enum SectionView<'a> {
Type(TypeSection),
Function(FunctionSection),
Code(CodeSection),
Export(ExportSectionView<'a>),
Import(ImportSectionView<'a>),
Memory(MemorySection),
Start(StartSection),
Global(GlobalSection),
Table(TableSection),
Data(DataSectionView<'a>),
Custom(CustomSectionView<'a>),
Element(ElementSection),
}
Variants§
Type(TypeSection)
Function(FunctionSection)
Code(CodeSection)
Export(ExportSectionView<'a>)
Import(ImportSectionView<'a>)
Memory(MemorySection)
Start(StartSection)
Global(GlobalSection)
Table(TableSection)
Data(DataSectionView<'a>)
Custom(CustomSectionView<'a>)
Element(ElementSection)
Implementations§
Trait Implementations§
Source§impl<'a> Debug for SectionView<'a>
impl<'a> Debug for SectionView<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for SectionView<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SectionView<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> PartialEq for SectionView<'a>
impl<'a> PartialEq for SectionView<'a>
Source§impl<'a> Serialize for SectionView<'a>
impl<'a> Serialize for SectionView<'a>
impl<'a> StructuralPartialEq for SectionView<'a>
Auto Trait Implementations§
impl<'a> Freeze for SectionView<'a>
impl<'a> RefUnwindSafe for SectionView<'a>
impl<'a> Send for SectionView<'a>
impl<'a> Sync for SectionView<'a>
impl<'a> Unpin for SectionView<'a>
impl<'a> UnwindSafe for SectionView<'a>
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