#[non_exhaustive]pub struct Project {
pub name: String,
pub parent_index: Option<usize>,
pub child_indexes: Vec<usize>,
pub directory_indexes: Vec<usize>,
pub target_indexes: Vec<usize>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
A string specifying the name given to the project() command.
parent_index: Option<usize>
Optional member that is present when the project is not top-level. The value is an unsigned integer 0-based index of another entry in the main projects array that corresponds to the parent project that added this project as a subproject.
child_indexes: Vec<usize>
Optional member that is present when the project has subprojects. Entries corresponding to the subprojects. Each entry is an unsigned integer 0-based index of another entry in the main projects array.
directory_indexes: Vec<usize>
Entries corresponding to build system directories that are part of the project. The first entry corresponds to the top-level directory of the project. Each entry is an unsigned integer 0-based index into the main directories array.
target_indexes: Vec<usize>
Optional member that is present when the project itself has targets, excluding those belonging to subprojects. Entries corresponding to the targets. Each entry is an unsigned integer 0-based index into the main targets array.