pub fn initial_sections<'a, 'b>(
        self,
        cx: &'b ModuleContext<'a>,
    ) -> impl Iterator<Item = &'b wasm_encoder::RawSection<'a>> + 'b {
        let info = cx.defined(self);
        info.raw_sections
            .iter()
            .filter(|s| s.id != SectionId::Custom.into())
            .take_while(|s| match s.id {
                x if x == SectionId::Type.into() => true,
                x if x == SectionId::Import.into() => true,
                x if x == SectionId::Alias.into() => true,
                x if x == SectionId::Module.into() => true,
                x if x == SectionId::Instance.into() => true,
                _ => false,
            })
    }
/// Iterate over the initial sections in this Wasm module.
Iterate over the initial sections in this Wasm module.
Iterate over the initial sections in this Wasm module .
pub fn initial_sections<'a, 'b>(
        self,
        cx: &'b ModuleContext<'a>,
    ) -> impl Iterator<Item = &'b wasm_encoder::RawSection<'a>> + 'b {
        let info = cx.defined(self);
        info.raw_sections
            .iter()
            .filter(|s| s.id != SectionId::Custom.into())
            .take_while(|s| match s.id {
                x if x == SectionId::Type.into() => true,
                x if x == SectionId::Import.into() => true,
                x if x == SectionId::Alias.into() => true,
                x if x == SectionId::Module.into() => true,
                x if x == SectionId::Instance.into() => true,
                _ => false,
            })
    }
pub fn initial_sections < ' a , ' b > ( self , cx : & ' b ModuleContext < ' a > , ) -> impl Iterator < Item = & ' b wasm_encoder :: RawSection < ' a > > + ' b { let info = cx . defined ( self ) ; info . raw_sections . iter ( ) . filter ( | s | s . id != SectionId :: Custom . into ( ) ) . take_while ( | s | match s . id { x if x == SectionId :: Type . into ( ) => true , x if x == SectionId :: Import . into ( ) => true , x if x == SectionId :: Alias . into ( ) => true , x if x == SectionId :: Module . into ( ) => true , x if x == SectionId :: Instance . into ( ) => true , _ => false , } ) }
Iterate over the initial sections in this Wasm module.
Iterate over the initial sections in this Wasm module .
self
cx
&'b ModuleContext<'a>
self
cx
&'b ModuleContext<'a>