pub struct BuildDbgArgs {
pub target_dir_wasm: Option<String>,
pub twiggy_top: bool,
pub twiggy_paths: bool,
pub twiggy_monos: bool,
pub twiggy_dominators: bool,
}
Fields§
§target_dir_wasm: Option<String>
For the wasm crate, allows specifying the target directory where the Rust compiler will build the intermediary files.
Sharing the same target directory can speed up building multiple contract crates at once.
Has alias target-dir
for backwards compatibility.
twiggy_top: bool
Generate a twiggy top report after building.
twiggy_paths: bool
Generate a twiggy paths report after building.
twiggy_monos: bool
Generate a twiggy monos report after building.
twiggy_dominators: bool
Generate a twiggy dominators report after building.
Implementations§
Source§impl BuildDbgArgs
impl BuildDbgArgs
Sourcepub fn into_build_args(self) -> BuildArgs
pub fn into_build_args(self) -> BuildArgs
Base config when calling cargo run build-dbg
, with no additional configs.
Trait Implementations§
Source§impl Args for BuildDbgArgs
impl Args for BuildDbgArgs
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 CliArgsToRaw for BuildDbgArgs
impl CliArgsToRaw for BuildDbgArgs
Source§impl Clone for BuildDbgArgs
impl Clone for BuildDbgArgs
Source§fn clone(&self) -> BuildDbgArgs
fn clone(&self) -> BuildDbgArgs
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 Debug for BuildDbgArgs
impl Debug for BuildDbgArgs
Source§impl FromArgMatches for BuildDbgArgs
impl FromArgMatches for BuildDbgArgs
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 PartialEq for BuildDbgArgs
impl PartialEq for BuildDbgArgs
impl Eq for BuildDbgArgs
impl StructuralPartialEq for BuildDbgArgs
Auto Trait Implementations§
impl Freeze for BuildDbgArgs
impl RefUnwindSafe for BuildDbgArgs
impl Send for BuildDbgArgs
impl Sync for BuildDbgArgs
impl Unpin for BuildDbgArgs
impl UnwindSafe for BuildDbgArgs
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.