pub enum CaptureType {
ToSystem = 0,
SharedCuda = 1,
ToOpenGl = 3,
}Variants§
ToSystem = 0
Capture frames to a buffer in system memory.
Capture frames to a CUDA device in video memory.
Specifying this will dlopen() libcuda.so.1 and fail if not available.
ToOpenGl = 3
Capture frames to an OpenGL buffer in video memory.
Trait Implementations§
Source§impl Clone for CaptureType
impl Clone for CaptureType
Source§fn clone(&self) -> CaptureType
fn clone(&self) -> CaptureType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptureType
impl Debug for CaptureType
impl Copy for CaptureType
Auto Trait Implementations§
impl Freeze for CaptureType
impl RefUnwindSafe for CaptureType
impl Send for CaptureType
impl Sync for CaptureType
impl Unpin for CaptureType
impl UnwindSafe for CaptureType
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