pub struct Project {
pub project_type: ProjectType,
pub path: PathBuf,
}
Fields§
§project_type: ProjectType
§path: PathBuf
Implementations§
source§impl Project
impl Project
pub fn artifact_dirs(&self) -> &[&str]
pub fn name(&self) -> Cow<'_, str>
pub fn size(&self, options: &ScanOptions) -> u64
pub fn last_modified(&self, options: &ScanOptions) -> Result<SystemTime, Error>
pub fn size_dirs(&self, options: &ScanOptions) -> ProjectSize
pub fn type_name(&self) -> &'static str
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