Trait crabgrab::platform::windows::WindowsCapturableWindowExt
source · pub trait WindowsCapturableWindowExt {
// Required methods
fn get_window_handle(&self) -> HWND;
fn from_window_handle(
window_handle: HWND
) -> Result<CapturableWindow, CapturableContentError>;
}
Expand description
Windows-specific extensions to capturable windows Windows-specific extensions for capturable windows
Required Methods§
sourcefn get_window_handle(&self) -> HWND
fn get_window_handle(&self) -> HWND
Get the HWND for this capturable window.
sourcefn from_window_handle(
window_handle: HWND
) -> Result<CapturableWindow, CapturableContentError>
fn from_window_handle( window_handle: HWND ) -> Result<CapturableWindow, CapturableContentError>
Get a capturable window from an HWND
Object Safety§
This trait is not object safe.