# [−] [src] Trait wasmi_validation::Validator

    pub trait Validator {
        type Output;
        type FuncValidator: FuncValidator;
        fn new(module: &Module) -> Self;
        fn on_function_validated(
            &mut self,
            index: u32,
            output: <Self::FuncValidator as FuncValidator>::Output
        );
        fn finish(self) -> Self::Output;
    }

## Associated Types

### `type Output`

### `type FuncValidator: FuncValidator`

Loading content...

## Required methods

### `fn new(module: &Module) -> Self`

### `fn on_function_validated(
&mut self,
index: u32,
output: <Self::FuncValidator as FuncValidator>::Output
)`

### `fn finish(self) -> Self::Output`

Loading content...

## Implementors

### `impl Validator for PlainValidator` [src]

#### `type Output = ()`

#### `type FuncValidator = PlainFuncValidator`

#### `fn new(_module: &Module) -> PlainValidator` [src]

#### `fn on_function_validated(
&mut self,
_index: u32,
_output: <Self::FuncValidator as FuncValidator>::Output
)` [src]

#### `fn finish(self)` [src]

Loading content...

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)