Expand description
Platform window bridging for baseview.
Re-exports the canonical helpers from truce_gui::platform so this
crate’s call sites can keep using crate::platform::Foo while the
actual rwh-0.5 to rwh-0.6 bridge, the ParentWindow newtype, and
the wgpu surface constructor live in one place. truce-gui’s copy
is the canonical one; every GUI backend reads through these
re-exports so platform behaviour stays uniform.
Structs§
- Parent
Window - Newtype bridging truce’s
RawWindowHandleto baseview’sHasRawWindowHandle(raw-window-handle 0.5).
Functions§
- create_
wgpu_ ⚠surface - Bridge a baseview raw-window-handle 0.5 to a wgpu-compatible
SurfaceTargetUnsafeusing rwh 0.6 types. - query_
backing_ scale