pub struct ProfileCommand {
pub elf_path: Option<PathBuf>,
pub diff_program: Option<String>,
pub share: bool,
pub expand: bool,
pub watch: bool,
}Fields§
§elf_path: Option<PathBuf>Path to a compiled .so (auto-detected from target/deploy/ if omitted)
diff_program: Option<String>Compare CU cost against an on-chain program by name
Upload the profile result and get a shareable link
expand: boolShow full terminal output with all functions
watch: boolWatch src/ for changes and re-profile automatically
Trait Implementations§
Source§impl Args for ProfileCommand
impl Args for ProfileCommand
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 ProfileCommand
impl Clone for ProfileCommand
Source§fn clone(&self) -> ProfileCommand
fn clone(&self) -> ProfileCommand
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 Debug for ProfileCommand
impl Debug for ProfileCommand
Source§impl FromArgMatches for ProfileCommand
impl FromArgMatches for ProfileCommand
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.Auto Trait Implementations§
impl Freeze for ProfileCommand
impl RefUnwindSafe for ProfileCommand
impl Send for ProfileCommand
impl Sync for ProfileCommand
impl Unpin for ProfileCommand
impl UnsafeUnpin for ProfileCommand
impl UnwindSafe for ProfileCommand
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