pub enum VideoDecoderSpecification {
EnableHardwareAcceleratedVideoDecoder,
RequireHardwareAcceleratedVideoDecoder,
RequiredDecoderGPURegistryID,
PreferredDecoderGPURegistryID,
}Variants§
EnableHardwareAcceleratedVideoDecoder
RequireHardwareAcceleratedVideoDecoder
RequiredDecoderGPURegistryID
PreferredDecoderGPURegistryID
Trait Implementations§
Source§impl Clone for VideoDecoderSpecification
impl Clone for VideoDecoderSpecification
Source§fn clone(&self) -> VideoDecoderSpecification
fn clone(&self) -> VideoDecoderSpecification
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 moreimpl Copy for VideoDecoderSpecification
Source§impl Debug for VideoDecoderSpecification
impl Debug for VideoDecoderSpecification
impl Eq for VideoDecoderSpecification
Source§impl From<VideoDecoderSpecification> for CFStringRef
impl From<VideoDecoderSpecification> for CFStringRef
Source§fn from(spec: VideoDecoderSpecification) -> Self
fn from(spec: VideoDecoderSpecification) -> Self
Converts to this type from the input type.
Source§impl From<VideoDecoderSpecification> for CFString
impl From<VideoDecoderSpecification> for CFString
Source§fn from(spec: VideoDecoderSpecification) -> Self
fn from(spec: VideoDecoderSpecification) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VideoDecoderSpecification
impl PartialEq for VideoDecoderSpecification
Source§fn eq(&self, other: &VideoDecoderSpecification) -> bool
fn eq(&self, other: &VideoDecoderSpecification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VideoDecoderSpecification
Auto Trait Implementations§
impl Freeze for VideoDecoderSpecification
impl RefUnwindSafe for VideoDecoderSpecification
impl Send for VideoDecoderSpecification
impl Sync for VideoDecoderSpecification
impl Unpin for VideoDecoderSpecification
impl UnsafeUnpin for VideoDecoderSpecification
impl UnwindSafe for VideoDecoderSpecification
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