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
impl Copy for HardwareDecoderProbe
Source§impl Debug for HardwareDecoderProbe
impl Debug for HardwareDecoderProbe
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