pub enum DecoderNativeDeviceContextKind {
D3D11Device,
AndroidNativeWindow,
Unknown(String),
}Expand description
Native graphics device/context kinds that a host may share with a decoder plugin.
Variants§
Trait Implementations§
Source§impl Clone for DecoderNativeDeviceContextKind
impl Clone for DecoderNativeDeviceContextKind
Source§fn clone(&self) -> DecoderNativeDeviceContextKind
fn clone(&self) -> DecoderNativeDeviceContextKind
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<'de> Deserialize<'de> for DecoderNativeDeviceContextKind
impl<'de> Deserialize<'de> for DecoderNativeDeviceContextKind
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 DecoderNativeDeviceContextKind
impl StructuralPartialEq for DecoderNativeDeviceContextKind
Auto Trait Implementations§
impl Freeze for DecoderNativeDeviceContextKind
impl RefUnwindSafe for DecoderNativeDeviceContextKind
impl Send for DecoderNativeDeviceContextKind
impl Sync for DecoderNativeDeviceContextKind
impl Unpin for DecoderNativeDeviceContextKind
impl UnsafeUnpin for DecoderNativeDeviceContextKind
impl UnwindSafe for DecoderNativeDeviceContextKind
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