Struct wasm_bindgen_backend::ast::Struct
[−]
[src]
pub struct Struct { pub name: Ident, pub fields: Vec<StructField>, }
Fields
name: Ident
fields: Vec<StructField>
Trait Implementations
impl ToTokens for Struct
[src]
fn to_tokens(&self, tokens: &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