pub enum SoftwareAdapters {
Allow,
Refuse,
}Expand description
Whether a product request may open a device on a software adapter
(lavapipe, llvmpipe, WARP, SwiftShader).
Variants§
Allow
A software adapter is tried after every hardware one.
Refuse
Software adapters open only when ALPHA2_GPU_ADAPTER pins them.
Trait Implementations§
Source§impl Clone for SoftwareAdapters
impl Clone for SoftwareAdapters
impl Copy for SoftwareAdapters
Source§impl Debug for SoftwareAdapters
impl Debug for SoftwareAdapters
Source§impl Default for SoftwareAdapters
impl Default for SoftwareAdapters
impl Eq for SoftwareAdapters
Source§impl PartialEq for SoftwareAdapters
impl PartialEq for SoftwareAdapters
impl StructuralPartialEq for SoftwareAdapters
Auto Trait Implementations§
impl Freeze for SoftwareAdapters
impl RefUnwindSafe for SoftwareAdapters
impl Send for SoftwareAdapters
impl Sync for SoftwareAdapters
impl Unpin for SoftwareAdapters
impl UnsafeUnpin for SoftwareAdapters
impl UnwindSafe for SoftwareAdapters
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.