pub enum HwCodec {
Hevc,
Av1,
}Expand description
A codec this crate can decode still frames of.
The set is fixed at v1 (see docs/SUPPORT.md): HEVC for HEIC and AV1 for
AVIF. It is deliberately exhaustive — a new codec is a deliberate,
breaking decision, not an additive one.
Variants§
Implementations§
Trait Implementations§
impl Copy for HwCodec
impl Eq for HwCodec
impl StructuralPartialEq for HwCodec
Auto Trait Implementations§
impl Freeze for HwCodec
impl RefUnwindSafe for HwCodec
impl Send for HwCodec
impl Sync for HwCodec
impl Unpin for HwCodec
impl UnsafeUnpin for HwCodec
impl UnwindSafe for HwCodec
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