Struct embuild::cmake::Codemodel [−][src]
pub struct Codemodel {
pub version: Version,
pub paths: Paths,
pub configurations: Vec<Configuration>,
// some fields omitted
}Expand description
The description of the build system structure as modeled by CMake.
Fields
version: VersionThe version of this object kind.
paths: PathsSome paths used by cmake.
configurations: Vec<Configuration>All available build configurations.
On single-configuration generators there is one entry for the value of the
CMAKE_BUILD_TYPE variable. For multi-configuration generators there is an entry for
each configuration listed in the CMAKE_CONFIGURATION_TYPES variable.
Implementations
Turn this into configurations.
Turn this into configurations[0].
This functions panics if there are no configurations.
Trait Implementations
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 RefUnwindSafe for Codemodel
impl UnwindSafe for Codemodel
Blanket Implementations
Mutably borrows from an owned value. Read more