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<Path>, pub vendor_prefixes: Vec<Ident>, }
Fields
vis: Visibility
rust_name: Ident
js_name: String
attrs: Vec<Attribute>
doc_comment: Option<String>
instanceof_shim: String
extends: Vec<Path>
vendor_prefixes: Vec<Ident>
Trait Implementations
impl Clone for ImportType
[src]
impl Clone for ImportType
fn clone(&self) -> ImportType
[src]
fn clone(&self) -> ImportType
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 ToTokens for ImportType
[src]
impl ToTokens for ImportType
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 ImportType
[src]
impl ImportedTypes for ImportType
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 ImportType
impl !Send for ImportType
impl !Sync for ImportType
impl !Sync for ImportType