pub struct PendingWindowCreation {
pub label: String,
pub kind: WindowKind,
pub parent_instance_id: Option<String>,
}Expand description
Phase B.5 (window_meta step d) — pre-create handoff. Caller
(drag.rs::tear_off, commands/window.rs::open_new_window,
window_pool.rs::spawn_pool_window, pane/creation.rs) pushes
one entry per window CEF is about to create; client.rs::on_after_created
pops the head entry and uses kind for the Subwindow
taskbar-hide branch + as the payload for ReportWindowOpened.
Replaces the previous pending_window_labels: VecDeque<String>
queue + parallel caller-side window_meta writes that used to
act as the kind/parent channel. Collapsing them into a single
tuple eliminates the parallel-write race; on_after_created
performs the single canonical window_meta.insert from the
popped entry (kept as a synchronous host-side cache for
open_subwindow’s parent liveness check + cascade-close
enumeration in task dev mode where launcher IPC is absent).
Fields§
§label: String§kind: WindowKind§parent_instance_id: Option<String>Trait Implementations§
Source§impl Clone for PendingWindowCreation
impl Clone for PendingWindowCreation
Source§fn clone(&self) -> PendingWindowCreation
fn clone(&self) -> PendingWindowCreation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for PendingWindowCreation
impl RefUnwindSafe for PendingWindowCreation
impl Send for PendingWindowCreation
impl Sync for PendingWindowCreation
impl Unpin for PendingWindowCreation
impl UnwindSafe for PendingWindowCreation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
fn wrap_result(self) -> U
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.