Struct wast::FunctionType [−][src]
pub struct FunctionType<'a> { pub params: Box<[(Option<Id<'a>>, Option<NameAnnotation<'a>>, ValType<'a>)]>, pub results: Box<[ValType<'a>]>, }
A function type with parameters and results.
Fields
params: Box<[(Option<Id<'a>>, Option<NameAnnotation<'a>>, ValType<'a>)]>
The parameters of a function, optionally each having an identifier for
name resolution and a name for the custom name
section.
results: Box<[ValType<'a>]>
The results types of a function.
Trait Implementations
impl<'a> Clone for FunctionType<'a>
[src]
impl<'a> Clone for FunctionType<'a>
[src]fn clone(&self) -> FunctionType<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for FunctionType<'a>
[src]
impl<'a> Default for FunctionType<'a>
[src]fn default() -> FunctionType<'a>
[src]
impl<'a> From<FunctionTypeNoNames<'a>> for FunctionType<'a>
[src]
impl<'a> From<FunctionTypeNoNames<'a>> for FunctionType<'a>
[src]