pub struct MockWindow {
pub handle: u64,
pub node: NodeId,
pub title: String,
pub size: Size,
pub kind: String,
pub open: bool,
pub focused: bool,
}Expand description
A secondary window opened through the open_window duty (docs/windows.md) —
probe-visible for the seam tests.
Fields§
§handle: u64The content-container widget handle.
node: NodeIdThe window root’s spec-boundary id (events emit to it).
title: String§size: Size§kind: String"normal" | "preferences".
open: bool§focused: boolTrait Implementations§
Source§impl Clone for MockWindow
impl Clone for MockWindow
Source§fn clone(&self) -> MockWindow
fn clone(&self) -> MockWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MockWindow
impl RefUnwindSafe for MockWindow
impl Send for MockWindow
impl Sync for MockWindow
impl Unpin for MockWindow
impl UnsafeUnpin for MockWindow
impl UnwindSafe for MockWindow
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