Struct wasm_bindgen_backend::ast::ImportType [−][src]
pub struct ImportType {
pub vis: Visibility,
pub rust_name: Ident,
pub js_name: String,
pub attrs: Vec<Attribute>,
pub doc_comment: Option<String>,
pub instanceof_shim: String,
pub extends: Vec<Ident>,
}Fields
vis: Visibility
rust_name: Ident
js_name: String
attrs: Vec<Attribute>
doc_comment: Option<String>
instanceof_shim: String
extends: Vec<Ident>
Trait Implementations
impl Clone for ImportType[src]
impl Clone for ImportTypefn clone(&self) -> ImportType[src]
fn clone(&self) -> ImportTypeReturns 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 ToTokens for ImportType[src]
impl ToTokens for ImportTypefn 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) -> TokenStreamConvert self directly into a TokenStream object. Read more
impl ImportedTypes for ImportType[src]
impl ImportedTypes for ImportTypefn 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 ImportType
impl !Send for ImportTypeimpl !Sync for ImportType
impl !Sync for ImportType