pub struct WindowInfo {
pub hwnd: isize,
pub pid: u32,
pub title: String,
pub class_name: String,
pub process_name: String,
pub process_file: PathBuf,
pub index: usize,
pub position: WindowPosition,
}Expand description
Comprehensive information about a Windows window.
Fields§
§hwnd: isizeThe window handle (HWND) as an isize.
pid: u32The process ID (PID) that owns the window.
title: StringThe window title text.
class_name: StringThe window class name.
process_name: StringThe name of the process executable.
process_file: PathBufThe full path to the process executable file.
index: usizeThe 1-based index of this window in enumeration results.
position: WindowPositionThe position and dimensions of the window.
Implementations§
Source§impl WindowInfo
Extension methods for WindowInfo providing display and validation functionality.
impl WindowInfo
Extension methods for WindowInfo providing display and validation functionality.
Sourcepub fn print_compact(&self)
pub fn print_compact(&self)
Trait Implementations§
Source§impl Clone for WindowInfo
impl Clone for WindowInfo
Source§fn clone(&self) -> WindowInfo
fn clone(&self) -> WindowInfo
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 moreAuto Trait Implementations§
impl Freeze for WindowInfo
impl RefUnwindSafe for WindowInfo
impl Send for WindowInfo
impl Sync for WindowInfo
impl Unpin 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