pub enum ImportType {
RequireContext,
Import,
ImportDynamic,
Require,
CJSSelfExport,
Entry,
Es6SideEffect,
Es6ExportImport,
ModuleDecorator,
Url,
AmdRequire,
Empty,
}
Variants§
RequireContext
Webpack require.context call.
Import
ES6 import statement
ImportDynamic
Deferred (async) import statement import()
Require
CJS Require statement
CJSSelfExport
Entry
Required by default as an entrypoint
Es6SideEffect
Es6ExportImport
ModuleDecorator
Url
AmdRequire
Empty
The value was missing from the stats file
Trait Implementations§
Source§impl Clone for ImportType
impl Clone for ImportType
Source§fn clone(&self) -> ImportType
fn clone(&self) -> ImportType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImportType
impl Debug for ImportType
Source§impl Default for ImportType
impl Default for ImportType
Source§impl<'de> Deserialize<'de> for ImportType
impl<'de> Deserialize<'de> for ImportType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for ImportType
impl FromStr for ImportType
impl Copy for ImportType
Auto Trait Implementations§
impl Freeze for ImportType
impl RefUnwindSafe for ImportType
impl Send for ImportType
impl Sync for ImportType
impl Unpin for ImportType
impl UnwindSafe for ImportType
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