pub struct WindowInfo {
pub id: u32,
pub pid: i32,
pub app: String,
pub title: String,
pub z: u32,
pub bounds: WindowBounds,
pub layer: i32,
pub on_screen: bool,
pub ax_matched: bool,
}Expand description
One window, as returned by list_windows.
Fields§
§id: u32Platform window id.
pid: i32Owning process id.
app: StringOwner name.
title: StringWindow title. Empty when Screen Recording hides it.
z: u32Z-order index in this result. 0 is front.
bounds: WindowBoundsScreen bounds in logical points.
layer: i32Window layer. Normal windows are 0.
on_screen: boolWhether the window was listed as on screen.
ax_matched: boolWhether an accessibility window was joined to this row by bounds.
Trait Implementations§
Source§impl Clone for WindowInfo
impl Clone for WindowInfo
Source§impl Debug for WindowInfo
impl Debug for WindowInfo
Source§impl<'de> Deserialize<'de> for WindowInfo
impl<'de> Deserialize<'de> for WindowInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WindowInfo
Source§impl PartialEq for WindowInfo
impl PartialEq for WindowInfo
Source§impl Serialize for WindowInfo
impl Serialize for WindowInfo
impl StructuralPartialEq for WindowInfo
Auto Trait Implementations§
impl Freeze for WindowInfo
impl RefUnwindSafe for WindowInfo
impl Send for WindowInfo
impl Sync for WindowInfo
impl Unpin for WindowInfo
impl UnsafeUnpin for WindowInfo
impl UnwindSafe for WindowInfo
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.