pub struct BuildConfig {
pub repository: Option<String>,
pub repository_path: Option<String>,
pub output_path: Option<String>,
pub branch: Option<String>,
pub verbose: bool,
pub clean: bool,
pub settings: UserSettings,
}
Fields§
§repository: Option<String>
§repository_path: Option<String>
§output_path: Option<String>
§branch: Option<String>
§verbose: bool
§clean: bool
§settings: UserSettings
Implementations§
Source§impl BuildConfig
impl BuildConfig
pub fn get_revision(&self) -> Result<Revision, Error>
pub fn as_cmake_define_key_values( &self, ) -> impl Iterator<Item = (String, String)>
Trait Implementations§
Source§impl Debug for BuildConfig
impl Debug for BuildConfig
Source§impl Default for BuildConfig
impl Default for BuildConfig
Source§fn default() -> BuildConfig
fn default() -> BuildConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BuildConfig
impl RefUnwindSafe for BuildConfig
impl Send for BuildConfig
impl Sync for BuildConfig
impl Unpin for BuildConfig
impl UnwindSafe for BuildConfig
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