#[repr(u32)]pub enum PhysicalDeviceType {
Other = 0,
IntegratedGpu = 1,
DiscreteGpu = 2,
VirtualGpu = 3,
Cpu = 4,
}Variants§
Trait Implementations§
Source§impl Clone for PhysicalDeviceType
impl Clone for PhysicalDeviceType
Source§fn clone(&self) -> PhysicalDeviceType
fn clone(&self) -> PhysicalDeviceType
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 PhysicalDeviceType
Source§impl Debug for PhysicalDeviceType
impl Debug for PhysicalDeviceType
impl Eq for PhysicalDeviceType
Source§impl PartialEq for PhysicalDeviceType
impl PartialEq for PhysicalDeviceType
Source§fn eq(&self, other: &PhysicalDeviceType) -> bool
fn eq(&self, other: &PhysicalDeviceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PhysicalDeviceType
Auto Trait Implementations§
impl Freeze for PhysicalDeviceType
impl RefUnwindSafe for PhysicalDeviceType
impl Send for PhysicalDeviceType
impl Sync for PhysicalDeviceType
impl Unpin for PhysicalDeviceType
impl UnsafeUnpin for PhysicalDeviceType
impl UnwindSafe for PhysicalDeviceType
Blanket Implementations§
impl<T> Alias<T> for T
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