pub struct ContextForArgs {
pub qnames: String,
pub budget_tokens: Option<usize>,
pub include_body: bool,
pub quiet: bool,
pub timing: bool,
}Fields§
§qnames: StringComma-separated list of fully-qualified symbol names.
Example: DriftSynthPool.resolveForPreview,Scheduler.restartLane
budget_tokens: Option<usize>Approximate token budget for the output (rough estimate: 1 token ≈ 4 chars). When set, ledger entries and callees are trimmed to fit.
include_body: boolInclude full source body of each symbol (can be large).
quiet: boolSuppress the stale-index warning.
timing: boolPrint per-phase timing to stderr.
Trait Implementations§
Source§impl Args for ContextForArgs
impl Args for ContextForArgs
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 Debug for ContextForArgs
impl Debug for ContextForArgs
Source§impl FromArgMatches for ContextForArgs
impl FromArgMatches for ContextForArgs
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 ContextForArgs
impl RefUnwindSafe for ContextForArgs
impl Send for ContextForArgs
impl Sync for ContextForArgs
impl Unpin for ContextForArgs
impl UnsafeUnpin for ContextForArgs
impl UnwindSafe for ContextForArgs
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