Trait wasmparser::WasmDecoder
[−]
[src]
pub trait WasmDecoder<'a> { fn read(&mut self) -> &ParserState<'a>; fn push_input(&mut self, input: ParserInput); fn read_with_input(&mut self, input: ParserInput) -> &ParserState<'a>; fn create_binary_reader<'b>(&mut self) -> BinaryReader<'b>
where
'a: 'b; fn last_state(&self) -> &ParserState<'a>; }
Required Methods
fn read(&mut self) -> &ParserState<'a>
fn push_input(&mut self, input: ParserInput)
fn read_with_input(&mut self, input: ParserInput) -> &ParserState<'a>
fn create_binary_reader<'b>(&mut self) -> BinaryReader<'b> where
'a: 'b,
'a: 'b,
fn last_state(&self) -> &ParserState<'a>
Implementors
impl<'a> WasmDecoder<'a> for Parser<'a>
impl<'a> WasmDecoder<'a> for ValidatingParser<'a>