pub enum Module<'a> {
Output(OutputModule<'a>),
Runtime {
name: ModuleName<'a>,
},
}Variants
Output(OutputModule<'a>)
Modules that can be pointed back to source code
Runtime
Fields
name: ModuleName<'a>Webpack outputs its own runtime modules
Trait Implementations
sourceimpl<'a, 'de: 'a> Deserialize<'de> for Module<'a>
impl<'a, 'de: 'a> Deserialize<'de> for Module<'a>
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<'a> RefUnwindSafe for Module<'a>
impl<'a> Send for Module<'a>
impl<'a> Sync for Module<'a>
impl<'a> Unpin for Module<'a>
impl<'a> UnwindSafe for Module<'a>
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