pub struct WatchCompiler {
pub base: BaseCompiler,
pub ts_config_provider: TsConfigProvider,
pub rust_toolchain_loader: RustToolchainLoader,
}Fields§
§base: BaseCompiler§ts_config_provider: TsConfigProvider§rust_toolchain_loader: RustToolchainLoaderImplementations§
Source§impl WatchCompiler
impl WatchCompiler
pub fn new( base: BaseCompiler, ts_config_provider: TsConfigProvider, rust_toolchain_loader: RustToolchainLoader, ) -> Self
pub fn plan_run( &mut self, context: &BaseCompilerContext, ts_config_path: &str, app_name: Option<&str>, preserve_watch_output: Option<bool>, ) -> Result<WatchCompilerRunPlan, String>
pub fn is_success_status(message: &str) -> bool
Trait Implementations§
Source§impl Clone for WatchCompiler
impl Clone for WatchCompiler
Source§fn clone(&self) -> WatchCompiler
fn clone(&self) -> WatchCompiler
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 WatchCompiler
impl Debug for WatchCompiler
Source§impl PartialEq for WatchCompiler
impl PartialEq for WatchCompiler
Source§fn eq(&self, other: &WatchCompiler) -> bool
fn eq(&self, other: &WatchCompiler) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WatchCompiler
impl StructuralPartialEq for WatchCompiler
Auto Trait Implementations§
impl Freeze for WatchCompiler
impl RefUnwindSafe for WatchCompiler
impl Send for WatchCompiler
impl Sync for WatchCompiler
impl Unpin for WatchCompiler
impl UnsafeUnpin for WatchCompiler
impl UnwindSafe for WatchCompiler
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.