Enum webpack_stats::v5::source::ImportType
source · [−]pub enum ImportType {
RequireContext,
Import,
ImportDynamic,
Require,
Entry,
Empty,
}Variants
RequireContext
Webpack require.context call.
Import
ES6 import statement
ImportDynamic
Deferred (async) import statement import()
Require
CJS Require statement
Entry
Required by default as an entrypoint
Empty
The value was missing from the stats file
Trait Implementations
sourceimpl Debug for ImportType
impl Debug for ImportType
sourceimpl Default for ImportType
impl Default for ImportType
sourceimpl<'de> Deserialize<'de> for ImportType
impl<'de> Deserialize<'de> for ImportType
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ImportType
impl Send for ImportType
impl Sync for ImportType
impl Unpin for ImportType
impl UnwindSafe for ImportType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more