pub struct ResolvedTarget {
pub pid: i32,
pub bundle_id: Option<String>,
pub display_name: String,
pub exe_path: Option<PathBuf>,
pub window_id: Option<u32>,
pub window_title: Option<String>,
pub bounds: Option<WindowBounds>,
}Expand description
Result of resolving an app and an optional window.
Fields§
§pid: i32Process id.
bundle_id: Option<String>Bundle identifier.
display_name: StringLocalized name.
exe_path: Option<PathBuf>Canonical executable path.
window_id: Option<u32>Window id, when a window was requested or chosen.
window_title: Option<String>Window title.
bounds: Option<WindowBounds>Window bounds.
Trait Implementations§
Source§impl Clone for ResolvedTarget
impl Clone for ResolvedTarget
Source§impl Debug for ResolvedTarget
impl Debug for ResolvedTarget
impl Eq for ResolvedTarget
Source§impl PartialEq for ResolvedTarget
impl PartialEq for ResolvedTarget
impl StructuralPartialEq for ResolvedTarget
Auto Trait Implementations§
impl Freeze for ResolvedTarget
impl RefUnwindSafe for ResolvedTarget
impl Send for ResolvedTarget
impl Sync for ResolvedTarget
impl Unpin for ResolvedTarget
impl UnsafeUnpin for ResolvedTarget
impl UnwindSafe for ResolvedTarget
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.