#[repr(i32)]pub enum AVHWDeviceType {
Show 15 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,
AV_HWDEVICE_TYPE_D3D12VA = 12,
AV_HWDEVICE_TYPE_AMF = 13,
AV_HWDEVICE_TYPE_OHCODEC = 14,
}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
AV_HWDEVICE_TYPE_D3D12VA = 12
AV_HWDEVICE_TYPE_AMF = 13
AV_HWDEVICE_TYPE_OHCODEC = 14
trait 实现§
源代码§impl Clone for AVHWDeviceType
impl Clone for AVHWDeviceType
源代码§fn clone(&self) -> AVHWDeviceType
fn clone(&self) -> AVHWDeviceType
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVHWDeviceType
impl Debug for AVHWDeviceType
源代码§impl Hash for AVHWDeviceType
impl Hash for AVHWDeviceType
源代码§impl PartialEq for AVHWDeviceType
impl PartialEq for AVHWDeviceType
impl Copy for AVHWDeviceType
impl Eq for AVHWDeviceType
impl StructuralPartialEq for AVHWDeviceType
自动 trait 实现§
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 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多