pub trait MockProjectChangeExt {
// Required methods
fn apply_as_fs_to_project<F, Ext>(
&self,
compiler: &mut ProjectCompiler<F, Ext>,
is_sync: bool,
)
where F: CompilerFeat + Send + Sync + 'static,
Ext: Default + 'static;
fn apply_as_memory_to_project<F, Ext>(
&self,
compiler: &mut ProjectCompiler<F, Ext>,
)
where F: CompilerFeat + Send + Sync + 'static,
Ext: Default + 'static;
}Expand description
Applies VFS mock changes to project compilers.
Required Methods§
Sourcefn apply_as_fs_to_project<F, Ext>(
&self,
compiler: &mut ProjectCompiler<F, Ext>,
is_sync: bool,
)
fn apply_as_fs_to_project<F, Ext>( &self, compiler: &mut ProjectCompiler<F, Ext>, is_sync: bool, )
Applies this change to a project compiler as a filesystem event.
Sourcefn apply_as_memory_to_project<F, Ext>(
&self,
compiler: &mut ProjectCompiler<F, Ext>,
)
fn apply_as_memory_to_project<F, Ext>( &self, compiler: &mut ProjectCompiler<F, Ext>, )
Applies this change to a project compiler as a memory event.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.