pub struct WaitWindowPresentArgs {
pub window_id: Option<u32>,
pub active_window: bool,
pub app: Option<String>,
pub window_name: Option<String>,
pub timeout_ms: u64,
pub poll_ms: u64,
}Fields§
§window_id: Option<u32>Select by window id.
active_window: boolSelect frontmost active window.
app: Option<String>Select by app name.
window_name: Option<String>Narrow app selection by window title substring.
timeout_ms: u64Timeout in milliseconds.
poll_ms: u64Poll interval in milliseconds.
Trait Implementations§
Source§impl Args for WaitWindowPresentArgs
impl Args for WaitWindowPresentArgs
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 WaitWindowPresentArgs
impl Clone for WaitWindowPresentArgs
Source§fn clone(&self) -> WaitWindowPresentArgs
fn clone(&self) -> WaitWindowPresentArgs
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 WaitWindowPresentArgs
impl Debug for WaitWindowPresentArgs
Source§impl FromArgMatches for WaitWindowPresentArgs
impl FromArgMatches for WaitWindowPresentArgs
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 WaitWindowPresentArgs
impl RefUnwindSafe for WaitWindowPresentArgs
impl Send for WaitWindowPresentArgs
impl Sync for WaitWindowPresentArgs
impl Unpin for WaitWindowPresentArgs
impl UnsafeUnpin for WaitWindowPresentArgs
impl UnwindSafe for WaitWindowPresentArgs
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