Struct webpack_stats::v5::module::___EmptyOutputModule
source · [−]pub struct ___EmptyOutputModule<'a> {Show 16 fields
pub assets: Fallible<Option<Vec<Asset<'a>>>>,
pub built: Fallible<bool>,
pub cacheable: Fallible<bool>,
pub chunks: Fallible<Option<Vec<ChunkId>>>,
pub error_count: Fallible<Option<u32>>,
pub warning_count: Fallible<Option<u32>>,
pub failed: Fallible<bool>,
pub id: Fallible<Option<ModuleId>>,
pub identifier: Fallible<Option<ModuleIdentifier<'a>>>,
pub name: Fallible<Option<ModuleName<'a>>>,
pub optional: Fallible<bool>,
pub prefetched: Fallible<bool>,
pub reasons: Fallible<Option<Vec<Reason<'a>>>>,
pub size: Fallible<Option<SizeBytes>>,
pub source: Fallible<Optional<SourceText<'a>>>,
pub profile: Fallible<Option<Profile>>,
}Fields
assets: Fallible<Option<Vec<Asset<'a>>>>built: Fallible<bool>Indicates that the module went through loaders, Parsing, and Code Generation
cacheable: Fallible<bool>chunks: Fallible<Option<Vec<ChunkId>>>error_count: Fallible<Option<u32>>warning_count: Fallible<Option<u32>>failed: Fallible<bool>id: Fallible<Option<ModuleId>>identifier: Fallible<Option<ModuleIdentifier<'a>>>name: Fallible<Option<ModuleName<'a>>>Undocumented by webpack in any meaningful way.
optional: Fallible<bool>prefetched: Fallible<bool>reasons: Fallible<Option<Vec<Reason<'a>>>>Every module also contains a list of reasons objects describing why that module was included in the dependency graph. Each “reason” is similar to the origins
size: Fallible<Option<SizeBytes>>source: Fallible<Optional<SourceText<'a>>>profile: Fallible<Option<Profile>>Trait Implementations
sourceimpl<'a> Container for ___EmptyOutputModule<'a>
impl<'a> Container for ___EmptyOutputModule<'a>
type Value = OutputModule<'a>
fn try_open(&mut self) -> Result<Self::Value, Box<dyn Error>>
fn open(&mut self) -> Self::Value
fn open_or_default(&mut self) -> Self::Value where
Self::Value: Default,
fn try_open_with_meta(
&mut self,
field_name: &'static str
) -> Result<Self::Value, Box<dyn Error + 'static, Global>>
fn open_with_meta(&mut self, field_name: &'static str) -> Self::Value
sourceimpl<'a> Default for ___EmptyOutputModule<'a>
impl<'a> Default for ___EmptyOutputModule<'a>
sourcefn default() -> ___EmptyOutputModule<'a>
fn default() -> ___EmptyOutputModule<'a>
Returns the “default value” for a type. Read more
sourceimpl<'de: 'a, 'a> Deserialize<'de> for ___EmptyOutputModule<'a>
impl<'de: 'a, 'a> Deserialize<'de> for ___EmptyOutputModule<'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 ___EmptyOutputModule<'a>
impl<'a> Send for ___EmptyOutputModule<'a>
impl<'a> Sync for ___EmptyOutputModule<'a>
impl<'a> Unpin for ___EmptyOutputModule<'a>
impl<'a> UnwindSafe for ___EmptyOutputModule<'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