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, pub doc_comment: Option<String>, }
Fields
function: Function
rust_name: Ident
js_ret: Option<Type>
catch: bool
structural: bool
kind: ImportFunctionKind
shim: Ident
doc_comment: Option<String>
Trait Implementations
impl Clone for ImportFunction
[src]
impl Clone for ImportFunction
fn clone(&self) -> ImportFunction
[src]
fn clone(&self) -> ImportFunction
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 TryToTokens for ImportFunction
[src]
impl TryToTokens for ImportFunction
fn try_to_tokens(&self, tokens: &mut TokenStream) -> Result<(), Diagnostic>
[src]
fn try_to_tokens(&self, tokens: &mut TokenStream) -> Result<(), Diagnostic>
fn try_to_token_stream(&self) -> Result<TokenStream, Diagnostic>
[src]
fn try_to_token_stream(&self) -> Result<TokenStream, Diagnostic>
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