pub struct DecoderNativeRequirements {
pub required_device_context_kinds: Vec<DecoderNativeDeviceContextKind>,
pub output_handle_kinds: Vec<DecoderNativeHandleKind>,
pub output_pipeline_profiles: Vec<NativeFramePipelineProfile>,
pub requires_native_device_context: bool,
pub accepted_bitstream_formats: Vec<DecoderBitstreamFormat>,
}Expand description
Native-frame decoder requirements advertised through the plugin ABI.
Fields§
§required_device_context_kinds: Vec<DecoderNativeDeviceContextKind>§output_handle_kinds: Vec<DecoderNativeHandleKind>§output_pipeline_profiles: Vec<NativeFramePipelineProfile>§requires_native_device_context: bool§accepted_bitstream_formats: Vec<DecoderBitstreamFormat>Trait Implementations§
Source§impl Clone for DecoderNativeRequirements
impl Clone for DecoderNativeRequirements
Source§fn clone(&self) -> DecoderNativeRequirements
fn clone(&self) -> DecoderNativeRequirements
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 DecoderNativeRequirements
impl Debug for DecoderNativeRequirements
Source§impl Default for DecoderNativeRequirements
impl Default for DecoderNativeRequirements
Source§fn default() -> DecoderNativeRequirements
fn default() -> DecoderNativeRequirements
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecoderNativeRequirements
impl<'de> Deserialize<'de> for DecoderNativeRequirements
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 DecoderNativeRequirements
impl StructuralPartialEq for DecoderNativeRequirements
Auto Trait Implementations§
impl Freeze for DecoderNativeRequirements
impl RefUnwindSafe for DecoderNativeRequirements
impl Send for DecoderNativeRequirements
impl Sync for DecoderNativeRequirements
impl Unpin for DecoderNativeRequirements
impl UnsafeUnpin for DecoderNativeRequirements
impl UnwindSafe for DecoderNativeRequirements
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