Enum wgpu_core::instance::AdapterInputs
source · pub enum AdapterInputs<'a, I> {
IdSet(&'a [I], fn(_: &I) -> Backend),
Mask(Backends, fn(_: Backend) -> I),
}
Variants§
Auto Trait Implementations§
impl<'a, I> RefUnwindSafe for AdapterInputs<'a, I>where
I: RefUnwindSafe,
impl<'a, I> Send for AdapterInputs<'a, I>where
I: Sync,
impl<'a, I> Sync for AdapterInputs<'a, I>where
I: Sync,
impl<'a, I> Unpin for AdapterInputs<'a, I>
impl<'a, I> UnwindSafe for AdapterInputs<'a, I>where
I: RefUnwindSafe,
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