orca_wasm/ir/section.rs
1//! Enums the represent a section of a Module or a Component
2
3#[derive(Debug, Clone, Eq, PartialEq)]
4/// Represents a Section in a Component
5pub enum ComponentSection {
6 Module,
7 Alias,
8 CoreType,
9 ComponentType,
10 ComponentImport,
11 ComponentExport,
12 CoreInstance,
13 ComponentInstance,
14 Canon,
15 CustomSection,
16 Component,
17 ComponentStartSection,
18}