Struct wasm_bindgen_backend::ast::Export [−][src]
pub struct Export { pub class: Option<Ident>, pub method_self: Option<MethodSelf>, pub constructor: Option<String>, pub function: Function, pub comments: Vec<String>, }
Fields
class: Option<Ident>
method_self: Option<MethodSelf>
constructor: Option<String>
function: Function
comments: Vec<String>
Trait Implementations
impl ToTokens for Export
[src]
impl ToTokens for Export
fn to_tokens(self: &Export, into: &mut TokenStream)
[src]
fn to_tokens(self: &Export, into: &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