#[non_exhaustive]pub enum AdapterKind {
Discrete,
Integrated,
Virtual,
Cpu,
Other,
}Expand description
what kind of GPU
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.
Trait Implementations§
Source§impl Clone for AdapterKind
impl Clone for AdapterKind
impl Copy for AdapterKind
Source§impl Debug for AdapterKind
impl Debug for AdapterKind
impl Eq for AdapterKind
Source§impl PartialEq for AdapterKind
impl PartialEq for AdapterKind
impl StructuralPartialEq for AdapterKind
Auto Trait Implementations§
impl Forget for AdapterKind
impl Freeze for AdapterKind
impl RefUnwindSafe for AdapterKind
impl Send for AdapterKind
impl Sync for AdapterKind
impl Unpin for AdapterKind
impl UnsafeUnpin for AdapterKind
impl UnwindSafe for AdapterKind
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