#[repr(C)]pub enum HwAcceleration {
Enabled = 0,
Disabled = 1,
DontCare = 2,
}Variants§
Implementations§
Source§impl HwAcceleration
impl HwAcceleration
pub const fn is_enabled(&self) -> bool
Trait Implementations§
Source§impl Clone for HwAcceleration
impl Clone for HwAcceleration
Source§fn clone(&self) -> HwAcceleration
fn clone(&self) -> HwAcceleration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HwAcceleration
impl Debug for HwAcceleration
Source§impl Hash for HwAcceleration
impl Hash for HwAcceleration
Source§impl Ord for HwAcceleration
impl Ord for HwAcceleration
Source§fn cmp(&self, other: &HwAcceleration) -> Ordering
fn cmp(&self, other: &HwAcceleration) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HwAcceleration
impl PartialEq for HwAcceleration
Source§impl PartialOrd for HwAcceleration
impl PartialOrd for HwAcceleration
impl Copy for HwAcceleration
impl Eq for HwAcceleration
impl StructuralPartialEq for HwAcceleration
Auto Trait Implementations§
impl Freeze for HwAcceleration
impl RefUnwindSafe for HwAcceleration
impl Send for HwAcceleration
impl Sync for HwAcceleration
impl Unpin for HwAcceleration
impl UnwindSafe for HwAcceleration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more