pub enum DeviceTarget {
Auto,
MidRange,
HighEnd,
}Expand description
Requested device class; Auto is resolved by the Hardware & Delegate
context at runtime.
Variants§
Trait Implementations§
Source§impl Clone for DeviceTarget
impl Clone for DeviceTarget
Source§fn clone(&self) -> DeviceTarget
fn clone(&self) -> DeviceTarget
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 DeviceTarget
Source§impl Debug for DeviceTarget
impl Debug for DeviceTarget
impl Eq for DeviceTarget
Source§impl PartialEq for DeviceTarget
impl PartialEq for DeviceTarget
Source§fn eq(&self, other: &DeviceTarget) -> bool
fn eq(&self, other: &DeviceTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceTarget
Auto Trait Implementations§
impl Freeze for DeviceTarget
impl RefUnwindSafe for DeviceTarget
impl Send for DeviceTarget
impl Sync for DeviceTarget
impl Unpin for DeviceTarget
impl UnsafeUnpin for DeviceTarget
impl UnwindSafe for DeviceTarget
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