Enum deno_core::ModuleType [−][src]
pub enum ModuleType {
JavaScript,
Json,
}
Expand description
A type of module to be executed.
For non-JavaScript
modules, this value doesn’t tell
how to interpret the module; it is only used to validate
the module against an import assertion (if one is present
in the import statement).
Variants
JavaScript
Json
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ModuleType
impl Send for ModuleType
impl Sync for ModuleType
impl Unpin for ModuleType
impl UnwindSafe for ModuleType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.