pub enum NativeHandleKind {
CvPixelBuffer,
IoSurface,
MetalTexture,
DmaBuf,
VaapiSurface,
D3D11Texture2D,
DxgiSurface,
VulkanImage,
MediaCodecHardwareBuffer,
MediaCodecSurfaceTexture,
Unknown(String),
}Expand description
Native frame handle kinds shared by decoder, frame processor, and presenter paths.
Variants§
CvPixelBuffer
IoSurface
MetalTexture
DmaBuf
VaapiSurface
D3D11Texture2D
DxgiSurface
VulkanImage
MediaCodecHardwareBuffer
MediaCodecSurfaceTexture
Unknown(String)
Trait Implementations§
Source§impl Clone for NativeHandleKind
impl Clone for NativeHandleKind
Source§fn clone(&self) -> NativeHandleKind
fn clone(&self) -> NativeHandleKind
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 NativeHandleKind
impl Debug for NativeHandleKind
Source§impl<'de> Deserialize<'de> for NativeHandleKind
impl<'de> Deserialize<'de> for NativeHandleKind
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 NativeHandleKind
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 NativeHandleKind
impl Hash for NativeHandleKind
Source§impl PartialEq for NativeHandleKind
impl PartialEq for NativeHandleKind
Source§impl Serialize for NativeHandleKind
impl Serialize for NativeHandleKind
impl StructuralPartialEq for NativeHandleKind
Auto Trait Implementations§
impl Freeze for NativeHandleKind
impl RefUnwindSafe for NativeHandleKind
impl Send for NativeHandleKind
impl Sync for NativeHandleKind
impl Unpin for NativeHandleKind
impl UnsafeUnpin for NativeHandleKind
impl UnwindSafe for NativeHandleKind
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