#[repr(i32)]pub enum GpuPreference {
Unspecified = 0,
MinimumPower = 1,
HighPerformance = 2,
}Variants§
Trait Implementations§
Source§impl Clone for GpuPreference
impl Clone for GpuPreference
Source§fn clone(&self) -> GpuPreference
fn clone(&self) -> GpuPreference
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 GpuPreference
impl Debug for GpuPreference
impl Copy for GpuPreference
Auto Trait Implementations§
impl Freeze for GpuPreference
impl RefUnwindSafe for GpuPreference
impl Send for GpuPreference
impl Sync for GpuPreference
impl Unpin for GpuPreference
impl UnwindSafe for GpuPreference
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