pub struct CMakeConfigData<'a, 'b> {
pub cpp_build_config_data: &'a CppBuildConfigData,
pub cpp_build_paths: &'b CppBuildPaths,
pub library_type: Option<CppLibraryType>,
pub cpp_library_version: Option<String>,
}
Fields§
§cpp_build_config_data: &'a CppBuildConfigData
§cpp_build_paths: &'b CppBuildPaths
§library_type: Option<CppLibraryType>
§cpp_library_version: Option<String>
Implementations§
Source§impl<'a, 'b> CMakeConfigData<'a, 'b>
impl<'a, 'b> CMakeConfigData<'a, 'b>
pub fn cmake_vars(&self) -> Result<Vec<CMakeVar>>
Auto Trait Implementations§
impl<'a, 'b> Freeze for CMakeConfigData<'a, 'b>
impl<'a, 'b> RefUnwindSafe for CMakeConfigData<'a, 'b>
impl<'a, 'b> Send for CMakeConfigData<'a, 'b>
impl<'a, 'b> Sync for CMakeConfigData<'a, 'b>
impl<'a, 'b> Unpin for CMakeConfigData<'a, 'b>
impl<'a, 'b> UnwindSafe for CMakeConfigData<'a, 'b>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more