Struct wasm_bindgen_backend::ast::ImportFunction [−][src]
pub struct ImportFunction { pub function: Function, pub rust_name: Ident, pub js_ret: Option<Type>, pub catch: bool, pub structural: bool, pub kind: ImportFunctionKind, pub shim: Ident, }
Fields
function: Function
rust_name: Ident
js_ret: Option<Type>
catch: bool
structural: bool
kind: ImportFunctionKind
shim: Ident
Trait Implementations
impl ToTokens for ImportFunction
[src]
impl ToTokens for ImportFunction
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn to_tokens(&self, tokens: &mut TokenStream)
Write self
to the given TokenStream
. Read more
fn into_token_stream(self) -> TokenStream
[src]
fn into_token_stream(self) -> TokenStream
Convert self
directly into a TokenStream
object. Read more
impl ImportedTypes for ImportFunction
[src]
impl ImportedTypes for ImportFunction
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),
Auto Trait Implementations
impl !Send for ImportFunction
impl !Send for ImportFunction
impl !Sync for ImportFunction
impl !Sync for ImportFunction