Struct swc_ecma_transforms_module::util::Scope [−][src]
pub struct Scope { /* fields omitted */ }
Implementations
Object.keys(_foo).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _foo[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _foo[key];
}
});
})
Parameters
exported_names
Ident of the object literal.
Import src to export from it.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scope
impl UnwindSafe for Scope
Blanket Implementations
Mutably borrows from an owned value. Read more