Function wasm_encoder::reencode::utils::parse_element_section

source ยท
pub fn parse_element_section<T: ?Sized + Reencode>(
    reencoder: &mut T,
    elements: &mut ElementSection,
    section: ElementSectionReader<'_>,
) -> Result<(), Error<T::Error>>
Expand description

Parses the input section given from the wasmparser crate and adds all the elements to the element section.