pub struct WindowInfo {
pub handle: WindowHandle,
pub parent: Option<WindowHandle>,
pub process_id: ProcessId,
pub class_name: String,
pub title: String,
pub rect: WindowRect,
pub is_visible: bool,
pub cloak_state: CloakState,
}Expand description
Snapshot of a desktop window.
Fields§
§handle: WindowHandleWindow handle.
parent: Option<WindowHandle>Parent handle if available.
process_id: ProcessIdOwning process ID.
class_name: StringWindow class name.
title: StringWindow title text.
rect: WindowRectWindow rectangle in screen coordinates.
is_visible: boolWhether the window is visible.
cloak_state: CloakStateDWM cloaked state.
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 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