pub enum BackendOptions {
V4l2(V4l2Options),
Camera2(Camera2Options),
AvFoundation(AvFoundationOptions),
}Expand description
Possible values for BackendOptions.
Variants§
V4l2(V4l2Options)
The V4l2 variant.
Camera2(Camera2Options)
The Camera2 variant.
AvFoundation(AvFoundationOptions)
The AvFoundation variant.
Implementations§
Trait Implementations§
Source§impl Clone for BackendOptions
impl Clone for BackendOptions
Source§impl Debug for BackendOptions
impl Debug for BackendOptions
Source§impl<'de> Deserialize<'de> for BackendOptions
impl<'de> Deserialize<'de> for BackendOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BackendOptions
Source§impl From<AvFoundationOptions> for BackendOptions
impl From<AvFoundationOptions> for BackendOptions
Source§fn from(value: AvFoundationOptions) -> Self
fn from(value: AvFoundationOptions) -> Self
Converts to this type from the input type.
Source§impl From<Camera2Options> for BackendOptions
impl From<Camera2Options> for BackendOptions
Source§fn from(value: Camera2Options) -> Self
fn from(value: Camera2Options) -> Self
Converts to this type from the input type.
Source§impl From<V4l2Options> for BackendOptions
impl From<V4l2Options> for BackendOptions
Source§fn from(value: V4l2Options) -> Self
fn from(value: V4l2Options) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BackendOptions
impl PartialEq for BackendOptions
Source§impl Serialize for BackendOptions
impl Serialize for BackendOptions
impl StructuralPartialEq for BackendOptions
Auto Trait Implementations§
impl Forget for BackendOptions
impl Freeze for BackendOptions
impl RefUnwindSafe for BackendOptions
impl Send for BackendOptions
impl Sync for BackendOptions
impl Unpin for BackendOptions
impl UnsafeUnpin for BackendOptions
impl UnwindSafe for BackendOptions
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