pub trait VideoOverlayExtManual: IsA<VideoOverlay> + 'static {
// Provided methods
unsafe fn set_window_handle(&self, handle: uintptr_t) { ... }
unsafe fn got_window_handle(&self, handle: uintptr_t) { ... }
}
Provided Methods§
Sourceunsafe fn set_window_handle(&self, handle: uintptr_t)
unsafe fn set_window_handle(&self, handle: uintptr_t)
This will call the video overlay’s set_window_handle method. You
should use this method to tell to an overlay to display video output to a
specific window (e.g. an XWindow on X11). Passing 0 as the handle
will
tell the overlay to stop using that window and create an internal one.
§handle
a handle referencing the window.
unsafe fn got_window_handle(&self, handle: uintptr_t)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.