pub struct DesktopWindow {
pub hwnd: usize,
pub class_name: String,
pub window_name: String,
}Expand description
Information about a desktop window or Wayland display.
Fields§
§hwnd: usizeHWND on Windows, CGWindowID on macOS, or the display number in wayland-<n> on Linux.
class_name: StringWindow class on Windows, bundle ID on macOS, or Wayland socket path on Linux.
window_name: StringWindow title on Windows/macOS, or the wayland-<n> socket filename on Linux.
Trait Implementations§
Source§impl Clone for DesktopWindow
impl Clone for DesktopWindow
Source§impl Debug for DesktopWindow
impl Debug for DesktopWindow
Source§impl<'de> Deserialize<'de> for DesktopWindow
impl<'de> Deserialize<'de> for DesktopWindow
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
Auto Trait Implementations§
impl Freeze for DesktopWindow
impl RefUnwindSafe for DesktopWindow
impl Send for DesktopWindow
impl Sync for DesktopWindow
impl Unpin for DesktopWindow
impl UnsafeUnpin for DesktopWindow
impl UnwindSafe for DesktopWindow
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