pub type MockProjectCompiler<Ext = ()> = ProjectCompiler<MockCompilerFeat, Ext>;Expand description
A project compiler backed by mock VFS and world components.
Aliased Type§
pub struct MockProjectCompiler<Ext = ()> {
pub handler: Arc<dyn CompileHandler<MockCompilerFeat, Ext>>,
pub ignore_first_sync: bool,
pub primary: ProjectInsState<MockCompilerFeat, Ext>,
pub dedicates: Vec<ProjectInsState<MockCompilerFeat, Ext>>,
/* private fields */
}Fields§
§handler: Arc<dyn CompileHandler<MockCompilerFeat, Ext>>The compilation handle.
ignore_first_sync: boolWhether to ignore the first sync event.
primary: ProjectInsState<MockCompilerFeat, Ext>The primary state.
dedicates: Vec<ProjectInsState<MockCompilerFeat, Ext>>The states for dedicate tasks