#[non_exhaustive]pub struct WindowInfo {
pub id: Option<u64>,
pub title: Option<String>,
pub frame: Rect,
}Expand description
The window an AppState was captured from.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<u64>Platform window ID (CGWindowID, HWND, X11 window), when known.
title: Option<String>Window title.
frame: RectFrame in screen points.
Implementations§
Trait Implementations§
Source§impl Clone for WindowInfo
impl Clone for WindowInfo
Source§impl Debug for WindowInfo
impl Debug for WindowInfo
Source§impl Default for WindowInfo
impl Default for WindowInfo
Source§impl PartialEq for WindowInfo
impl PartialEq 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§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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