Struct wasm_bindgen_backend::ast::Function [−][src]
pub struct Function { pub name: String, pub arguments: Vec<ArgCaptured>, pub ret: Option<Type>, pub rust_attrs: Vec<Attribute>, pub rust_vis: Visibility, }
Fields
name: String
arguments: Vec<ArgCaptured>
ret: Option<Type>
rust_attrs: Vec<Attribute>
rust_vis: Visibility
Trait Implementations
impl Clone for Function
[src]
impl Clone for Function
fn clone(&self) -> Function
[src]
fn clone(&self) -> Function
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl ImportedTypes for Function
[src]
impl ImportedTypes for Function
fn imported_types<F>(&self, f: &mut F) where
F: FnMut(&Ident, ImportedTypeKind),
[src]
fn imported_types<F>(&self, f: &mut F) where
F: FnMut(&Ident, ImportedTypeKind),