Enum wgpu_core::instance::AdapterInputs
source · [−]pub enum AdapterInputs<'a, I> {
IdSet(&'a [I], fn(_: &I) -> Backend),
Mask(Backends, fn(_: Backend) -> I),
}
Variants
IdSet(&'a [I], fn(_: &I) -> Backend)
Mask(Backends, fn(_: Backend) -> I)
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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