Struct wasm_bindgen_backend::ast::StructField [−][src]
pub struct StructField { pub name: Ident, pub struct_name: Ident, pub readonly: bool, pub ty: Type, pub getter: Ident, pub setter: Ident, pub comments: Vec<String>, }
Fields
name: Ident
struct_name: Ident
readonly: bool
ty: Type
getter: Ident
setter: Ident
comments: Vec<String>
Trait Implementations
impl Clone for StructField
[src]
impl Clone for StructField
fn clone(&self) -> StructField
[src]
fn clone(&self) -> StructField
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 StructField
[src]
impl ToTokens for StructField
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
Auto Trait Implementations
impl !Send for StructField
impl !Send for StructField
impl !Sync for StructField
impl !Sync for StructField