Enum nokhwa::CaptureAPIBackend [−][src]
pub enum CaptureAPIBackend { AUTO, V4L2, UVC, WINDOWS, OPENCV, FFMPEG, }
Expand description
The list of known capture backends to the library.
Note: Only V4L2 and UVC (and by extension AUTO) is implemented so far.
- AUTO is special - it tells the Camera struct to automatically choose a backend most suited for the current platform.
- V4L2 -
Video4Linux2
, a linux specific backend. - UVC - Universal Video Class (please check libuvc). Platform agnostic, although on linux it needs
sudo
permissions or similar to use. - Windows - Directshow, Windows only
OpenCV
- UsesOpenCV
to capture. Platform agnostic.- FFMPEG - Uses FFMPEG (libavdevice) to capture. Platform agnostic.
Variants
Trait Implementations
impl Clone for CaptureAPIBackend
[src]
impl Clone for CaptureAPIBackend
[src]fn clone(&self) -> CaptureAPIBackend
[src]
fn clone(&self) -> CaptureAPIBackend
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for CaptureAPIBackend
[src]
impl Debug for CaptureAPIBackend
[src]impl Display for CaptureAPIBackend
[src]
impl Display for CaptureAPIBackend
[src]impl PartialEq<CaptureAPIBackend> for CaptureAPIBackend
[src]
impl PartialEq<CaptureAPIBackend> for CaptureAPIBackend
[src]impl Copy for CaptureAPIBackend
[src]
impl StructuralPartialEq for CaptureAPIBackend
[src]
Auto Trait Implementations
impl RefUnwindSafe for CaptureAPIBackend
impl Send for CaptureAPIBackend
impl Sync for CaptureAPIBackend
impl Unpin for CaptureAPIBackend
impl UnwindSafe for CaptureAPIBackend
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more