Struct wasm_bindgen_backend::ast::Export
[−]
[src]
pub struct Export { pub class: Option<Ident>, pub method: bool, pub mutable: bool, pub constructor: Option<String>, pub function: Function, }
Fields
class: Option<Ident>
method: bool
mutable: bool
constructor: Option<String>
function: Function
Methods
impl Export
[src]
pub fn rust_symbol(&self) -> Ident
[src]
pub fn export_name(&self) -> String
[src]
Trait Implementations
impl ToTokens for Export
[src]
fn to_tokens(self: &Export, into: &mut TokenStream)
[src]
Write self
to the given TokenStream
. Read more
fn into_token_stream(self) -> TokenStream
[src]
Convert self
directly into a TokenStream
object. Read more