Struct WindowsLaunchContext
pub struct WindowsLaunchContext {
pub with_keyboard_focus: bool,
}Expand description
Windows-side LaunchContext.
Carries the focus-handoff hint the daemon uses when spawning client
consoles. The current Win32 spawn path inspects the same flag to apply
STARTF_USESHOWWINDOW + SW_SHOWNOACTIVATE, so this field is the
minimum needed to round-trip today’s behaviour through the trait.
Fields§
§with_keyboard_focus: boolWhether the spawned console is allowed to take foreground focus.
Trait Implementations§
Source§impl Clone for WindowsLaunchContext
impl Clone for WindowsLaunchContext
Source§fn clone(&self) -> WindowsLaunchContext
fn clone(&self) -> WindowsLaunchContext
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 moreSource§impl Debug for WindowsLaunchContext
impl Debug for WindowsLaunchContext
Source§impl Default for WindowsLaunchContext
impl Default for WindowsLaunchContext
Source§fn default() -> WindowsLaunchContext
fn default() -> WindowsLaunchContext
Returns the “default value” for a type. Read more
impl Copy for WindowsLaunchContext
impl LaunchContext for WindowsLaunchContext
Auto Trait Implementations§
impl Freeze for WindowsLaunchContext
impl RefUnwindSafe for WindowsLaunchContext
impl Send for WindowsLaunchContext
impl Sync for WindowsLaunchContext
impl Unpin for WindowsLaunchContext
impl UnsafeUnpin for WindowsLaunchContext
impl UnwindSafe for WindowsLaunchContext
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