pub struct ProjectStructure {
pub root: PathBuf,
pub source_dirs: Vec<PathBuf>,
pub test_dirs: Vec<PathBuf>,
pub config_files: Vec<PathBuf>,
pub entry_points: Vec<PathBuf>,
}Expand description
Project structure information
Fields§
§root: PathBufRoot directory of the project
source_dirs: Vec<PathBuf>Source directories
test_dirs: Vec<PathBuf>Test directories
config_files: Vec<PathBuf>Configuration files
entry_points: Vec<PathBuf>Entry points (main.rs, index.js, etc.)
Trait Implementations§
Source§impl Clone for ProjectStructure
impl Clone for ProjectStructure
Source§fn clone(&self) -> ProjectStructure
fn clone(&self) -> ProjectStructure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectStructure
impl Debug for ProjectStructure
Source§impl<'de> Deserialize<'de> for ProjectStructure
impl<'de> Deserialize<'de> for ProjectStructure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProjectStructure
impl RefUnwindSafe for ProjectStructure
impl Send for ProjectStructure
impl Sync for ProjectStructure
impl Unpin for ProjectStructure
impl UnwindSafe for ProjectStructure
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