pub trait FilesGroupEx: Upcast<dyn FilesGroup> + AsFilesGroupMut {
// Provided methods
fn override_file_content(&mut self, file: FileId, content: Option<Arc<str>>) { ... }
fn set_crate_config(
&mut self,
crt: CrateId,
root: Option<CrateConfiguration>,
) { ... }
fn set_flag(&mut self, id: FlagId, value: Option<Arc<Flag>>) { ... }
fn use_cfg(&mut self, cfg_set: &CfgSet) { ... }
}
Provided Methods§
Sourcefn override_file_content(&mut self, file: FileId, content: Option<Arc<str>>)
fn override_file_content(&mut self, file: FileId, content: Option<Arc<str>>)
Overrides file content. None value removes the override.
Sourcefn set_crate_config(&mut self, crt: CrateId, root: Option<CrateConfiguration>)
fn set_crate_config(&mut self, crt: CrateId, root: Option<CrateConfiguration>)
Sets the root directory of the crate. None value removes the crate.