#[non_exhaustive]pub struct CMakeGenerator {
pub multi_config: bool,
pub name: String,
pub platform: Option<String>,
}
Expand description
describing the CMake
generator used for the build
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.multi_config: bool
specifying whether the generator supports multiple output configurations
name: String
specifying the name of the generator
platform: Option<String>
If the generator supports CMAKE_GENERATOR_PLATFORM, this is a string specifying the generator platform name
Trait Implementations§
Source§impl Clone for CMakeGenerator
impl Clone for CMakeGenerator
Source§fn clone(&self) -> CMakeGenerator
fn clone(&self) -> CMakeGenerator
Returns a copy 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 CMakeGenerator
impl Debug for CMakeGenerator
Source§impl Default for CMakeGenerator
impl Default for CMakeGenerator
Source§fn default() -> CMakeGenerator
fn default() -> CMakeGenerator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CMakeGenerator
impl<'de> Deserialize<'de> for CMakeGenerator
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
Source§impl PartialEq for CMakeGenerator
impl PartialEq for CMakeGenerator
Source§impl Serialize for CMakeGenerator
impl Serialize for CMakeGenerator
impl StructuralPartialEq for CMakeGenerator
Auto Trait Implementations§
impl Freeze for CMakeGenerator
impl RefUnwindSafe for CMakeGenerator
impl Send for CMakeGenerator
impl Sync for CMakeGenerator
impl Unpin for CMakeGenerator
impl UnwindSafe for CMakeGenerator
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