Struct wasm_bindgen_backend::ast::ImportStatic [−][src]
pub struct ImportStatic {
pub vis: Visibility,
pub ty: Type,
pub shim: Ident,
pub rust_name: Ident,
pub js_name: String,
}The type of a static being imported
Fields
vis: VisibilityThe visibility of this static in Rust
ty: TypeThe type of static being imported
shim: IdentThe name of the shim function used to access this static
rust_name: IdentThe name of this static on the Rust side
js_name: StringThe name of this static on the JS side
Trait Implementations
impl Clone for ImportStatic[src]
impl Clone for ImportStatic[src]fn clone(&self) -> ImportStatic[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl ToTokens for ImportStatic[src]
impl ToTokens for ImportStatic[src]