Struct wgpu_core::instance::Adapter [−][src]
pub struct Adapter<B: Backend> { /* fields omitted */ }
Implementations
impl<B: GfxBackend> Adapter<B>[src]
impl<B: GfxBackend> Adapter<B>[src]pub fn get_swap_chain_preferred_format(
&self,
surface: &mut Surface
) -> Result<TextureFormat, GetSwapChainPreferredFormatError>[src]
&self,
surface: &mut Surface
) -> Result<TextureFormat, GetSwapChainPreferredFormatError>
Trait Implementations
impl<B: Backend> Access<Adapter<B>> for Root[src]
impl<B: Backend> Access<Adapter<B>> for Surface[src]
impl<B: Backend> Access<Device<B>> for Adapter<B>[src]
Auto Trait Implementations
impl<B> RefUnwindSafe for Adapter<B> where
<B as Backend>::PhysicalDevice: RefUnwindSafe,
<B as Backend>::QueueFamily: RefUnwindSafe,
<B as Backend>::PhysicalDevice: RefUnwindSafe,
<B as Backend>::QueueFamily: RefUnwindSafe,
impl<B> Send for Adapter<B>
impl<B> Sync for Adapter<B>
impl<B> Unpin for Adapter<B> where
<B as Backend>::PhysicalDevice: Unpin,
<B as Backend>::QueueFamily: Unpin,
<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,
<B as Backend>::PhysicalDevice: UnwindSafe,
<B as Backend>::QueueFamily: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more