Struct wasm_bindgen_backend::ast::Const[][src]

pub struct Const {
    pub vis: Visibility,
    pub name: Ident,
    pub class: Option<Ident>,
    pub ty: Type,
    pub value: ConstValue,
}

Fields

Trait Implementations

impl Clone for Const
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToTokens for Const
[src]

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl ImportedTypes for Const
[src]

Auto Trait Implementations

impl !Send for Const

impl !Sync for Const