Enum deno_emit::BundleType
source · pub enum BundleType {
Module,
Classic,
}
Variants§
Module
Return the emitted contents of the program as a single “flattened” ES module.
Classic
Return the emitted contents of the program as a single script that executes the program using an immediately invoked function execution (IIFE).
Trait Implementations§
source§impl From<BundleType> for ModuleType
impl From<BundleType> for ModuleType
source§fn from(bundle_type: BundleType) -> Self
fn from(bundle_type: BundleType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BundleType
impl Send for BundleType
impl Sync for BundleType
impl Unpin for BundleType
impl UnwindSafe for BundleType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more