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.
pub fn get_hwnd(&self) -> HWND
Trait Implementations§
Source§impl Clone for ObsWindowHandle
impl Clone for ObsWindowHandle
Source§fn clone(&self) -> ObsWindowHandle
fn clone(&self) -> ObsWindowHandle
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 ObsWindowHandle
impl RefUnwindSafe for ObsWindowHandle
impl Send for ObsWindowHandle
impl Sync for ObsWindowHandle
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