pub struct WindowHandle(/* private fields */);Expand description
Platform-specific window handle
Implementations§
Source§impl WindowHandle
impl WindowHandle
Sourcepub unsafe fn from_raw(handle: *mut c_void) -> Self
pub unsafe fn from_raw(handle: *mut c_void) -> Self
Create from a raw window handle
§Safety
The pointer must be a valid window handle for the platform. On Linux this API currently
selects VST3’s X11EmbedWindowID contract; a wl_surface is not accepted because VST 3.8
Wayland embedding additionally requires host-provided IWaylandHost/IWaylandFrame
services.
Trait Implementations§
impl Send for WindowHandle
Auto Trait Implementations§
impl !Sync for WindowHandle
impl Freeze for WindowHandle
impl RefUnwindSafe for WindowHandle
impl Unpin for WindowHandle
impl UnsafeUnpin for WindowHandle
impl UnwindSafe for WindowHandle
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