pub struct AxTargetArgs {
pub session_id: Option<String>,
pub app: Option<String>,
pub bundle_id: Option<String>,
pub window_title_contains: Option<String>,
}Fields§
§session_id: Option<String>Select target by existing session id.
app: Option<String>Select target app by name.
bundle_id: Option<String>Select target app by bundle id.
window_title_contains: Option<String>Filter roots by window title substring.
Trait Implementations§
Source§impl Args for AxTargetArgs
impl Args for AxTargetArgs
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 AxTargetArgs
impl Clone for AxTargetArgs
Source§fn clone(&self) -> AxTargetArgs
fn clone(&self) -> AxTargetArgs
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 AxTargetArgs
impl Debug for AxTargetArgs
Source§impl Default for AxTargetArgs
impl Default for AxTargetArgs
Source§fn default() -> AxTargetArgs
fn default() -> AxTargetArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for AxTargetArgs
impl FromArgMatches for AxTargetArgs
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 AxTargetArgs
impl RefUnwindSafe for AxTargetArgs
impl Send for AxTargetArgs
impl Sync for AxTargetArgs
impl Unpin for AxTargetArgs
impl UnsafeUnpin for AxTargetArgs
impl UnwindSafe for AxTargetArgs
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