[][src]Trait wasmparser::WasmGlobalType

pub trait WasmGlobalType {
    type Type: WasmType;
    fn is_mutable(&self) -> bool;
fn content_type(&self) -> &Self::Type; }

Types that qualify as Wasm global types for validation purposes.

Associated Types

type Type: WasmType

A type that is comparable with Wasm types.

Loading content...

Required methods

fn is_mutable(&self) -> bool

Returns true if the global variable is mutable.

fn content_type(&self) -> &Self::Type

Returns the content type of the global variable.

Loading content...

Implementors

impl WasmGlobalType for GlobalType[src]

type Type = Type

Loading content...