pub struct BuildOptions {Show 16 fields
pub endpoint: Option<String>,
pub(crate) network: Option<String>,
pub non_recursive: bool,
pub offline: bool,
pub enable_ast_spans: bool,
pub enable_dce: bool,
pub enable_all_ast_snapshots: bool,
pub enable_initial_ast_snapshot: bool,
pub enable_unrolled_ast_snapshot: bool,
pub enable_ssa_ast_snapshot: bool,
pub enable_flattened_ast_snapshot: bool,
pub enable_destructured_ast_snapshot: bool,
pub enable_inlined_ast_snapshot: bool,
pub enable_dce_ast_snapshot: bool,
pub conditional_block_max_depth: usize,
pub disable_conditional_branch_type_checking: bool,
}
Expand description
Compiler Options wrapper for Build command. Also used by other commands which require Build command output as their input.
Fields§
§endpoint: Option<String>
§network: Option<String>
§non_recursive: bool
§offline: bool
§enable_ast_spans: bool
§enable_dce: bool
§enable_all_ast_snapshots: bool
§enable_initial_ast_snapshot: bool
§enable_unrolled_ast_snapshot: bool
§enable_ssa_ast_snapshot: bool
§enable_flattened_ast_snapshot: bool
§enable_destructured_ast_snapshot: bool
§enable_inlined_ast_snapshot: bool
§enable_dce_ast_snapshot: bool
§conditional_block_max_depth: usize
§disable_conditional_branch_type_checking: bool
Trait Implementations§
Source§impl Args for BuildOptions
impl Args for BuildOptions
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentsSource§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 BuildOptions
impl Clone for BuildOptions
Source§fn clone(&self) -> BuildOptions
fn clone(&self) -> BuildOptions
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 CommandFactory for BuildOptions
impl CommandFactory for BuildOptions
Source§impl Debug for BuildOptions
impl Debug for BuildOptions
Source§impl Default for BuildOptions
impl Default for BuildOptions
Source§impl From<BuildOptions> for CompilerOptions
impl From<BuildOptions> for CompilerOptions
Source§fn from(options: BuildOptions) -> Self
fn from(options: BuildOptions) -> Self
Converts to this type from the input type.
Source§impl FromArgMatches for BuildOptions
impl FromArgMatches for BuildOptions
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 BuildOptions
impl Parser for BuildOptions
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§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.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error. Read more
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
Auto Trait Implementations§
impl Freeze for BuildOptions
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnwindSafe for BuildOptions
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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