Struct dinghy_lib::project::Project
source · pub struct Project {
pub conf: Arc<Configuration>,
pub metadata: Metadata,
}
Fields§
§conf: Arc<Configuration>
§metadata: Metadata
Implementations§
source§impl Project
impl Project
pub fn new(conf: &Arc<Configuration>, metadata: Metadata) -> Project
pub fn project_dir(&self) -> Result<PathBuf>
pub fn overlay_work_dir(&self, platform: &dyn Platform) -> Result<PathBuf>
pub fn target_dir(&self, triple: &str) -> Result<PathBuf>
pub fn link_test_data(&self, runnable: &Runnable) -> Result<PathBuf>
pub fn copy_test_data<T: AsRef<Path>>(&self, app_path: T) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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