pub struct HardwareDecoderProbe;Expand description
Stateless platform probe identifying the target OS hardware decode backend and host fallback capabilities.
Implementations§
Source§impl HardwareDecoderProbe
Platform hardware video decoder capability probe helpers.
impl HardwareDecoderProbe
Platform hardware video decoder capability probe helpers.
Sourcepub const fn preferred_for_host() -> HardwareDecoderKind
pub const fn preferred_for_host() -> HardwareDecoderKind
Returns the preferred native hardware decode backend kind for the active compilation target.
§Returns
HardwareDecoderKind- Target OS hardware decoder backend kind.
Sourcepub const fn capabilities_for(
kind: HardwareDecoderKind,
) -> HardwareDecoderCapabilities
pub const fn capabilities_for( kind: HardwareDecoderKind, ) -> HardwareDecoderCapabilities
Trait Implementations§
Source§impl Clone for HardwareDecoderProbe
impl Clone for HardwareDecoderProbe
Source§fn clone(&self) -> HardwareDecoderProbe
fn clone(&self) -> HardwareDecoderProbe
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 HardwareDecoderProbe
Source§impl Debug for HardwareDecoderProbe
impl Debug for HardwareDecoderProbe
Source§impl Default for HardwareDecoderProbe
impl Default for HardwareDecoderProbe
Source§fn default() -> HardwareDecoderProbe
fn default() -> HardwareDecoderProbe
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for HardwareDecoderProbe
impl Freeze for HardwareDecoderProbe
impl Move for HardwareDecoderProbe
impl RefUnwindSafe for HardwareDecoderProbe
impl Send for HardwareDecoderProbe
impl Sync for HardwareDecoderProbe
impl Unpin for HardwareDecoderProbe
impl UnsafeUnpin for HardwareDecoderProbe
impl UnwindSafe for HardwareDecoderProbe
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