Struct wgpu_core::instance::Adapter [−][src]
pub struct Adapter<B: Backend> { /* fields omitted */ }
Implementations
pub fn get_swap_chain_preferred_format(
&self,
surface: &mut Surface
) -> Result<TextureFormat, GetSwapChainPreferredFormatError>Trait Implementations
Auto Trait Implementations
impl<B> RefUnwindSafe for Adapter<B> where
<B as Backend>::PhysicalDevice: RefUnwindSafe,
<B as Backend>::QueueFamily: RefUnwindSafe, impl<B> Unpin for Adapter<B> where
<B as Backend>::PhysicalDevice: Unpin,
<B as Backend>::QueueFamily: Unpin, impl<B> UnwindSafe for Adapter<B> where
<B as Backend>::PhysicalDevice: UnwindSafe,
<B as Backend>::QueueFamily: UnwindSafe,