pub struct OutboundOsDragRequest {
pub window_id: TeksiloWindowId,
}Expand description
Posted by a backend whose outbound (app → OS) drag is blocking (Windows
OLE DoDragDrop runs its own modal message loop) so it can be run OUTSIDE
the in-app event dispatch that started it. ExternalDndGuard::begin_drag
stashes the payload, posts this, and returns true; teksilo-app’s
AppEvent::External arm downcasts it and calls
ExternalDndHandle::run_pending_outbound_drag on the next loop turn — a
point where no window is borrowed out of the manager, mirroring how inbound
drag events route through the poster rather than re-entrantly inside a
platform callback. Non-blocking backends (macOS / Wayland) never post this.
Fields§
§window_id: TeksiloWindowIdThe window whose guard stashed the outbound payload to export.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutboundOsDragRequest
impl RefUnwindSafe for OutboundOsDragRequest
impl Send for OutboundOsDragRequest
impl Sync for OutboundOsDragRequest
impl Unpin for OutboundOsDragRequest
impl UnsafeUnpin for OutboundOsDragRequest
impl UnwindSafe for OutboundOsDragRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
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.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.