pub struct WebpackDefaults {Show 15 fields
pub entry: PathBuf,
pub devtool: Option<String>,
pub target: String,
pub output_filename: PathBuf,
pub ignore_warnings_except: String,
pub externals: Vec<String>,
pub externals_presets_node: bool,
pub module_rules: Vec<WebpackModuleRule>,
pub resolve_extensions: Vec<String>,
pub resolve_plugins: Vec<WebpackResolvePlugin>,
pub mode: String,
pub optimization_node_env: bool,
pub node_filename: bool,
pub node_dirname: bool,
pub plugins: Vec<WebpackPluginPlan>,
}Fields§
§entry: PathBuf§devtool: Option<String>§target: String§output_filename: PathBuf§ignore_warnings_except: String§externals: Vec<String>§externals_presets_node: bool§module_rules: Vec<WebpackModuleRule>§resolve_extensions: Vec<String>§resolve_plugins: Vec<WebpackResolvePlugin>§mode: String§optimization_node_env: bool§node_filename: bool§node_dirname: bool§plugins: Vec<WebpackPluginPlan>Trait Implementations§
Source§impl Clone for WebpackDefaults
impl Clone for WebpackDefaults
Source§fn clone(&self) -> WebpackDefaults
fn clone(&self) -> WebpackDefaults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebpackDefaults
impl Debug for WebpackDefaults
Source§impl PartialEq for WebpackDefaults
impl PartialEq for WebpackDefaults
Source§fn eq(&self, other: &WebpackDefaults) -> bool
fn eq(&self, other: &WebpackDefaults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WebpackDefaults
impl StructuralPartialEq for WebpackDefaults
Auto Trait Implementations§
impl Freeze for WebpackDefaults
impl RefUnwindSafe for WebpackDefaults
impl Send for WebpackDefaults
impl Sync for WebpackDefaults
impl Unpin for WebpackDefaults
impl UnsafeUnpin for WebpackDefaults
impl UnwindSafe for WebpackDefaults
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.