#[repr(u32)]pub enum AVHWDeviceType {
AV_HWDEVICE_TYPE_NONE = 0,
AV_HWDEVICE_TYPE_VDPAU = 1,
AV_HWDEVICE_TYPE_CUDA = 2,
AV_HWDEVICE_TYPE_VAAPI = 3,
AV_HWDEVICE_TYPE_DXVA2 = 4,
AV_HWDEVICE_TYPE_QSV = 5,
AV_HWDEVICE_TYPE_VIDEOTOOLBOX = 6,
AV_HWDEVICE_TYPE_D3D11VA = 7,
AV_HWDEVICE_TYPE_DRM = 8,
AV_HWDEVICE_TYPE_OPENCL = 9,
AV_HWDEVICE_TYPE_MEDIACODEC = 10,
AV_HWDEVICE_TYPE_VULKAN = 11,
}Variants§
AV_HWDEVICE_TYPE_NONE = 0
AV_HWDEVICE_TYPE_VDPAU = 1
AV_HWDEVICE_TYPE_CUDA = 2
AV_HWDEVICE_TYPE_VAAPI = 3
AV_HWDEVICE_TYPE_DXVA2 = 4
AV_HWDEVICE_TYPE_QSV = 5
AV_HWDEVICE_TYPE_VIDEOTOOLBOX = 6
AV_HWDEVICE_TYPE_D3D11VA = 7
AV_HWDEVICE_TYPE_DRM = 8
AV_HWDEVICE_TYPE_OPENCL = 9
AV_HWDEVICE_TYPE_MEDIACODEC = 10
AV_HWDEVICE_TYPE_VULKAN = 11
Trait Implementations§
Source§impl Clone for AVHWDeviceType
impl Clone for AVHWDeviceType
Source§fn clone(&self) -> AVHWDeviceType
fn clone(&self) -> AVHWDeviceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AVHWDeviceType
Source§impl Debug for AVHWDeviceType
impl Debug for AVHWDeviceType
impl Eq for AVHWDeviceType
Source§impl Hash for AVHWDeviceType
impl Hash for AVHWDeviceType
Source§impl PartialEq for AVHWDeviceType
impl PartialEq for AVHWDeviceType
impl StructuralPartialEq for AVHWDeviceType
Auto Trait Implementations§
impl Freeze for AVHWDeviceType
impl RefUnwindSafe for AVHWDeviceType
impl Send for AVHWDeviceType
impl Sync for AVHWDeviceType
impl Unpin for AVHWDeviceType
impl UnsafeUnpin for AVHWDeviceType
impl UnwindSafe for AVHWDeviceType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.