pub struct Raised {
pub topmost: bool,
pub foreground: bool,
}Expand description
What raising a window actually achieved.
Reported rather than assumed, because the two halves have different strengths: the Z-order move is a guarantee, and the focus change is a request the system may refuse.
Fields§
§topmost: boolThe window is in the always-on-top band, so no ordinary window covers it. Read back from the window itself, not inferred from the request.
foreground: boolWindows granted the foreground, so the window also has keyboard focus.
false is normal and harmless for a background host: the dialog is
still fully visible and clickable, it just is not focused.
Trait Implementations§
impl Copy for Raised
impl Eq for Raised
impl StructuralPartialEq for Raised
Auto Trait Implementations§
impl Freeze for Raised
impl RefUnwindSafe for Raised
impl Send for Raised
impl Sync for Raised
impl Unpin for Raised
impl UnsafeUnpin for Raised
impl UnwindSafe for Raised
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