#[non_exhaustive]
#[repr(i32)]
pub enum DriverId {
Show 14 variants
AMDProprietary,
AMDOpenSource,
MesaRADV,
NvidiaProprietary,
IntelProprietaryWindows,
IntelOpenSourceMesa,
ImaginationProprietary,
QualcommProprietary,
ARMProprietary,
GoogleSwiftshader,
GGPProprietary,
BroadcomProprietary,
MesaLLVMpipe,
MoltenVK,
}
Expand description
An identifier for the driver of a physical device.
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.
AMDProprietary
AMDOpenSource
MesaRADV
NvidiaProprietary
IntelProprietaryWindows
IntelOpenSourceMesa
ImaginationProprietary
QualcommProprietary
ARMProprietary
GoogleSwiftshader
GGPProprietary
BroadcomProprietary
MesaLLVMpipe
MoltenVK
Trait Implementations
impl Copy for DriverId
impl Eq for DriverId
impl StructuralEq for DriverId
impl StructuralPartialEq for DriverId
Auto Trait Implementations
impl RefUnwindSafe for DriverId
impl Send for DriverId
impl Sync for DriverId
impl Unpin for DriverId
impl UnwindSafe for DriverId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more