pub struct ObsWindowHandle { /* private fields */ }Implementations§
Source§impl ObsWindowHandle
impl ObsWindowHandle
Sourcepub unsafe fn new_from_handle(handle: *mut c_void) -> Self
pub unsafe fn new_from_handle(handle: *mut c_void) -> Self
Construct from an HWND supplied by an external windowing toolkit.
§Safety
handle must be a live HWND for the complete lifetime of any OBS display created
from this value, and all toolkit thread-affinity requirements must be respected.
Trait Implementations§
Source§impl Clone for ObsWindowHandle
impl Clone for ObsWindowHandle
Auto Trait Implementations§
impl Forget for ObsWindowHandle
impl Freeze for ObsWindowHandle
impl Move for ObsWindowHandle
impl RefUnwindSafe for ObsWindowHandle
impl Send for ObsWindowHandlewhere
Sendable<gs_window>: Send,
impl Sync for ObsWindowHandlewhere
Sendable<gs_window>: Sync,
impl Unpin for ObsWindowHandle
impl UnsafeUnpin for ObsWindowHandle
impl UnwindSafe for ObsWindowHandle
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