pub struct SurfaceSpawnRequest {
pub url: String,
pub width: u32,
pub height: u32,
pub profile: EngineProfileBinding,
pub fence_handle: Option<u64>,
}Expand description
Input to SurfaceEngine::spawn.
Bypasses the inker fetch path entirely — the underlying WebView manages its own HTTP stack; there is no raw body to hand in.
Fields§
§url: String§width: u32§height: u32§profile: EngineProfileBinding§fence_handle: Option<u64>Platform fence share-handle for explicit GPU sync. None falls back
to the producer’s barrier/cache path. Windows: D3D12 fence HANDLE cast
to u64. Other platforms: reserved.
Trait Implementations§
Source§impl Clone for SurfaceSpawnRequest
impl Clone for SurfaceSpawnRequest
Source§fn clone(&self) -> SurfaceSpawnRequest
fn clone(&self) -> SurfaceSpawnRequest
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 moreAuto Trait Implementations§
impl Freeze for SurfaceSpawnRequest
impl RefUnwindSafe for SurfaceSpawnRequest
impl Send for SurfaceSpawnRequest
impl Sync for SurfaceSpawnRequest
impl Unpin for SurfaceSpawnRequest
impl UnsafeUnpin for SurfaceSpawnRequest
impl UnwindSafe for SurfaceSpawnRequest
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