Trait cairo_lang_filesystem::db::FilesGroupEx
source · pub trait FilesGroupEx: Upcast<dyn FilesGroup> + AsFilesGroupMut {
// Provided methods
fn override_file_content(
&mut self,
file: FileId,
content: Option<Arc<String>>
) { ... }
fn set_crate_root(&mut self, crt: CrateId, root: Option<Directory>) { ... }
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<String>>)
fn override_file_content(&mut self, file: FileId, content: Option<Arc<String>>)
Overrides file content. None value removes the override.
sourcefn set_crate_root(&mut self, crt: CrateId, root: Option<Directory>)
fn set_crate_root(&mut self, crt: CrateId, root: Option<Directory>)
Sets the root directory of the crate. None value removes the crate.