pub struct CompilerOptions {
pub ts_config_path: Option<String>,
pub webpack: bool,
pub webpack_config_path: Option<String>,
pub plugins: Vec<Plugin>,
pub assets: Vec<Asset>,
pub delete_out_dir: Option<bool>,
pub manual_restart: bool,
pub builder: Builder,
}Fields§
§ts_config_path: Option<String>§webpack: bool§webpack_config_path: Option<String>§plugins: Vec<Plugin>§assets: Vec<Asset>§delete_out_dir: Option<bool>§manual_restart: bool§builder: BuilderImplementations§
Source§impl CompilerOptions
impl CompilerOptions
pub fn merge(self, override_options: CompilerOptionsOverride) -> Self
Trait Implementations§
Source§impl Clone for CompilerOptions
impl Clone for CompilerOptions
Source§fn clone(&self) -> CompilerOptions
fn clone(&self) -> CompilerOptions
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 CompilerOptions
impl Debug for CompilerOptions
Source§impl Default for CompilerOptions
impl Default for CompilerOptions
Source§impl<'de> Deserialize<'de> for CompilerOptionswhere
CompilerOptions: Default,
impl<'de> Deserialize<'de> for CompilerOptionswhere
CompilerOptions: Default,
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 PartialEq for CompilerOptions
impl PartialEq for CompilerOptions
Source§fn eq(&self, other: &CompilerOptions) -> bool
fn eq(&self, other: &CompilerOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompilerOptions
impl Serialize for CompilerOptions
impl Eq for CompilerOptions
impl StructuralPartialEq for CompilerOptions
Auto Trait Implementations§
impl Freeze for CompilerOptions
impl RefUnwindSafe for CompilerOptions
impl Send for CompilerOptions
impl Sync for CompilerOptions
impl Unpin for CompilerOptions
impl UnsafeUnpin for CompilerOptions
impl UnwindSafe for CompilerOptions
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.