pub struct UnstableOpts {
pub ui_testing: bool,
pub track_diagnostics: bool,
pub parse_yul: bool,
pub no_resolve_imports: bool,
pub dump: Option<Dump>,
pub ast_stats: bool,
pub span_visitor: bool,
pub print_max_storage_sizes: bool,
pub help: (),
/* private fields */
}Expand description
Internal options.
Fields§
§ui_testing: boolEnables UI testing mode.
track_diagnostics: boolPrints a note for every diagnostic that is emitted with the creation and emission location.
This is enabled by default on debug builds.
parse_yul: boolEnables parsing Yul files for testing.
no_resolve_imports: boolDisables import resolution.
dump: Option<Dump>Print additional information about the compiler’s internal state.
Valid kinds are ast and hir.
ast_stats: boolPrint AST stats.
span_visitor: boolRun the span visitor after parsing.
print_max_storage_sizes: boolPrint contracts’ max storage sizes.
help: ()Print help.
Trait Implementations§
Source§impl Args for UnstableOpts
impl Args for UnstableOpts
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 UnstableOpts
impl Clone for UnstableOpts
Source§fn clone(&self) -> UnstableOpts
fn clone(&self) -> UnstableOpts
Returns a duplicate 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 UnstableOpts
impl CommandFactory for UnstableOpts
Source§impl Debug for UnstableOpts
impl Debug for UnstableOpts
Source§impl Default for UnstableOpts
impl Default for UnstableOpts
Source§fn default() -> UnstableOpts
fn default() -> UnstableOpts
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for UnstableOpts
impl FromArgMatches for UnstableOpts
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<UnstableOpts, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<UnstableOpts, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<UnstableOpts, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<UnstableOpts, 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 UnstableOpts
impl Parser for UnstableOpts
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 UnstableOpts
impl RefUnwindSafe for UnstableOpts
impl Send for UnstableOpts
impl Sync for UnstableOpts
impl Unpin for UnstableOpts
impl UnwindSafe for UnstableOpts
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, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
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