pub struct LaunchContext {
pub wait: LaunchWait,
pub pid: u32,
pub pre_hwnds: HashSet<u64>,
pub process_name: String,
}Expand description
Context stored after a successful launch: wait, used by ShadowDom::resolve
to filter the first resolution of root anchors.
Fields§
§wait: LaunchWait§pid: u32PID returned by open_application. Used for NewPid filtering.
pre_hwnds: HashSet<u64>HWNDs that existed before open_application was called. Used for NewWindow filtering.
process_name: StringLowercase process name derived from the launched exe (without .exe).
The launch filter is skipped for root anchors that explicitly target a
different process, so multiple-root-anchor workflows work correctly.
Trait Implementations§
Source§impl Clone for LaunchContext
impl Clone for LaunchContext
Source§fn clone(&self) -> LaunchContext
fn clone(&self) -> LaunchContext
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 LaunchContext
impl RefUnwindSafe for LaunchContext
impl Send for LaunchContext
impl Sync for LaunchContext
impl Unpin for LaunchContext
impl UnsafeUnpin for LaunchContext
impl UnwindSafe for LaunchContext
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