#[non_exhaustive]pub enum HardwarePreference {
Require,
Prefer,
Avoid,
}Expand description
Whether a caller permits or requires a hardware codec implementation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for HardwarePreference
impl Clone for HardwarePreference
Source§fn clone(&self) -> HardwarePreference
fn clone(&self) -> HardwarePreference
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 HardwarePreference
Source§impl Debug for HardwarePreference
impl Debug for HardwarePreference
impl Eq for HardwarePreference
Source§impl Hash for HardwarePreference
impl Hash for HardwarePreference
Source§impl PartialEq for HardwarePreference
impl PartialEq for HardwarePreference
impl StructuralPartialEq for HardwarePreference
Auto Trait Implementations§
impl Freeze for HardwarePreference
impl RefUnwindSafe for HardwarePreference
impl Send for HardwarePreference
impl Sync for HardwarePreference
impl Unpin for HardwarePreference
impl UnsafeUnpin for HardwarePreference
impl UnwindSafe for HardwarePreference
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