pub enum DecoderNativeHandleKind {
CvPixelBuffer,
IoSurface,
MetalTexture,
DmaBuf,
VaapiSurface,
D3D11Texture2D,
DxgiSurface,
VulkanImage,
MediaCodecHardwareBuffer,
MediaCodecSurfaceTexture,
Unknown(String),
}Expand description
Native frame handle kinds returned by the decoder plugin ABI.
Variants§
CvPixelBuffer
IoSurface
MetalTexture
DmaBuf
VaapiSurface
D3D11Texture2D
DxgiSurface
VulkanImage
MediaCodecHardwareBuffer
MediaCodecSurfaceTexture
Unknown(String)
Trait Implementations§
Source§impl Clone for DecoderNativeHandleKind
impl Clone for DecoderNativeHandleKind
Source§fn clone(&self) -> DecoderNativeHandleKind
fn clone(&self) -> DecoderNativeHandleKind
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 moreSource§impl Debug for DecoderNativeHandleKind
impl Debug for DecoderNativeHandleKind
Source§impl<'de> Deserialize<'de> for DecoderNativeHandleKind
impl<'de> Deserialize<'de> for DecoderNativeHandleKind
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 DecoderNativeHandleKind
Source§impl From<DecoderNativeHandleKind> for NativeHandleKind
impl From<DecoderNativeHandleKind> for NativeHandleKind
Source§fn from(value: DecoderNativeHandleKind) -> Self
fn from(value: DecoderNativeHandleKind) -> Self
Converts to this type from the input type.
Source§impl From<NativeHandleKind> for DecoderNativeHandleKind
impl From<NativeHandleKind> for DecoderNativeHandleKind
Source§fn from(value: NativeHandleKind) -> Self
fn from(value: NativeHandleKind) -> Self
Converts to this type from the input type.
Source§impl Hash for DecoderNativeHandleKind
impl Hash for DecoderNativeHandleKind
Source§impl PartialEq for DecoderNativeHandleKind
impl PartialEq for DecoderNativeHandleKind
Source§impl Serialize for DecoderNativeHandleKind
impl Serialize for DecoderNativeHandleKind
impl StructuralPartialEq for DecoderNativeHandleKind
Auto Trait Implementations§
impl Freeze for DecoderNativeHandleKind
impl RefUnwindSafe for DecoderNativeHandleKind
impl Send for DecoderNativeHandleKind
impl Sync for DecoderNativeHandleKind
impl Unpin for DecoderNativeHandleKind
impl UnsafeUnpin for DecoderNativeHandleKind
impl UnwindSafe for DecoderNativeHandleKind
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