pub struct Config {
pub root_project_name: Option<String>,
projects: HashMap<Option<String>, (PathBuf, Project)>,
}
Fields§
§root_project_name: Option<String>
§projects: HashMap<Option<String>, (PathBuf, Project)>
Implementations§
source§impl Config
impl Config
pub fn list_all_available_target_names(&self) -> Vec<String>
pub fn try_into_domain_targets( self, root_target_ids: &[TargetId] ) -> Result<HashMap<TargetId, Target>>
pub fn list_all_targets(&self) -> Vec<TargetId>
fn get_project(&self, project_name: &Option<String>) -> &Project
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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