pub struct DecoderParameters {
pub missed_frame_handling: MissedFrameHandling,
pub usage_flags: DecoderUsageFlags,
}๐Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Expand description
Parameters for decoder creation
Fieldsยง
ยงmissed_frame_handling: MissedFrameHandling๐Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
See MissedFrameHandling for description of different handling approaches.
Defaults to MissedFrameHandling::Strict
usage_flags: DecoderUsageFlags๐Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
A hint indicating what kind of content the decoder is going to be used for.
Multiple flags can be combined using the | operator to indicate multiple usages.
Trait Implementationsยง
Sourceยงimpl Clone for DecoderParameters
impl Clone for DecoderParameters
Sourceยงfn clone(&self) -> DecoderParameters
fn clone(&self) -> DecoderParameters
Returns a duplicate of the value. Read more
1.0.0 ยท 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 DecoderParameters
impl Debug for DecoderParameters
Sourceยงimpl Default for DecoderParameters
impl Default for DecoderParameters
Sourceยงfn default() -> DecoderParameters
fn default() -> DecoderParameters
Returns the โdefault valueโ for a type. Read more
impl Copy for DecoderParameters
Auto Trait Implementationsยง
impl Freeze for DecoderParameters
impl RefUnwindSafe for DecoderParameters
impl Send for DecoderParameters
impl Sync for DecoderParameters
impl Unpin for DecoderParameters
impl UnsafeUnpin for DecoderParameters
impl UnwindSafe for DecoderParameters
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