pub fn module_code_section_entry<'a>(&mut self) -> Validator {
        let mut ret = Validator::default();
        ret.features = self.features.clone();
        ret.expected_type = Some(self.state.module_type_indices[self.module_code_section_index]);
        self.module_code_section_index += 1;
        let state = ret.state.assert_mut();
        state.parent = Some(self.state.arc().clone());
        state.depth = self.state.depth + 1;
        return ret;
    }
/// Validates [`Payload::ModuleCodeSectionEntry`](crate::Payload).
///
/// Note that this does not actually perform any validation itself. The
/// `ModuleCodeSectionEntry` payload is associated with a sub-parser for the
/// sub-module, and it's expected that the returned [`Validator`] will be
/// paired with the [`Parser`] otherwise used with the module.
///
/// Note that the returned [`Validator`] should be used for the nested
/// module. It will correctly work with parent aliases as well as ensure the
/// type of the inline module matches the declared type. Using
/// [`Validator::new`] will result in incorrect validation.


Note that the returned [`Validator`] should be used for the nested
module. It will correctly work with parent aliases as well as ensure the
type of the inline module matches the declared type. Using
[`Validator::new`] will result in incorrect validation.
Note that the returned [ ` Validator ` ] should be used for the nested module . It will correctly work with parent aliases as well as ensure the type of the inline module matches the declared type . Using [ ` Validator :: new ` ] will result in incorrect validation .
pub fn module_code_section_entry<'a>(&mut self) -> Validator {
        let mut ret = Validator::default();
        ret.features = self.features.clone();
        ret.expected_type = Some(self.state.module_type_indices[self.module_code_section_index]);
        self.module_code_section_index += 1;
        let state = ret.state.assert_mut();
        state.parent = Some(self.state.arc().clone());
        state.depth = self.state.depth + 1;
        return ret;
    }
pub fn module_code_section_entry < ' a > ( & mut self ) -> Validator { let mut ret = Validator :: default ( ) ; ret . features = self . features . clone ( ) ; ret . expected_type = Some ( self . state . module_type_indices [ self . module_code_section_index ] ) ; self . module_code_section_index += 1 ; let state = ret . state . assert_mut ( ) ; state . parent = Some ( self . state . arc ( ) . clone ( ) ) ; state . depth = self . state . depth + 1 ; return ret ; }
Validates [`Payload::ModuleCodeSectionEntry`](crate::Payload).
Validates [ ` Payload :: ModuleCodeSectionEntry ` ] ( crate :: Payload ) .
&mut self
&mut self