pub struct XWinOptions {
pub cross_compiler: CrossCompiler,
pub xwin_cache_dir: Option<PathBuf>,
pub xwin_arch: Vec<Arch>,
pub xwin_variant: Vec<Variant>,
pub xwin_version: u8,
pub xwin_sdk_version: Option<String>,
pub xwin_crt_version: Option<String>,
pub xwin_include_atl: bool,
pub xwin_include_debug_libs: bool,
pub xwin_include_debug_symbols: bool,
pub xwin_http_retries: u32,
}Expand description
common xwin options
Fields§
§cross_compiler: CrossCompilerThe cross compiler to use
xwin_cache_dir: Option<PathBuf>xwin cache directory
xwin_arch: Vec<Arch>The architectures to include in CRT/SDK
xwin_variant: Vec<Variant>The variants to include
xwin_version: u8The version to retrieve, can either be a major version of 15, 16, 17 or 18, or
a “
xwin_sdk_version: Option<String>If specified, this is the version of the SDK that the user wishes to use instead of defaulting to the latest SDK available in the the manifest
xwin_crt_version: Option<String>If specified, this is the version of the MSVCRT that the user wishes to use instead of defaulting to the latest MSVCRT available in the the manifest
xwin_include_atl: boolWhether to include the Active Template Library (ATL) in the installation
xwin_include_debug_libs: boolWhether or not to include debug libs
xwin_include_debug_symbols: boolWhether or not to include debug symbols (PDBs)
xwin_http_retries: u32Number of times to retry HTTP requests when downloading
Implementations§
Source§impl XWinOptions
impl XWinOptions
pub fn apply_command_env( &self, manifest_path: Option<&Path>, cargo: &CommonOptions, cmd: &mut Command, ) -> Result<()>
Trait Implementations§
Source§impl Args for XWinOptions
impl Args for XWinOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for XWinOptions
impl Clone for XWinOptions
Source§fn clone(&self) -> XWinOptions
fn clone(&self) -> XWinOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandFactory for XWinOptions
impl CommandFactory for XWinOptions
Source§impl Debug for XWinOptions
impl Debug for XWinOptions
Source§impl Default for XWinOptions
impl Default for XWinOptions
Source§impl FromArgMatches for XWinOptions
impl FromArgMatches for XWinOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for XWinOptions
impl Parser for XWinOptions
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for XWinOptions
impl RefUnwindSafe for XWinOptions
impl Send for XWinOptions
impl Sync for XWinOptions
impl Unpin for XWinOptions
impl UnsafeUnpin for XWinOptions
impl UnwindSafe for XWinOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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