[−][src]Struct wgpu_core::device::Device
Methods
impl<B: Backend> Device<B>
[src]
pub fn borrow_pending_writes(&mut self) -> &mut B::CommandBuffer
[src]
Trait Implementations
impl<B: Backend> Access<BindGroup<B>> for Device<B>
[src]
impl<B: Backend> Access<BindGroupLayout<B>> for Device<B>
[src]
impl<B: Backend> Access<Buffer<B>> for Device<B>
[src]
impl<B: Backend> Access<CommandBuffer<B>> for Device<B>
[src]
impl<B: Backend> Access<ComputePipeline<B>> for Device<B>
[src]
impl<B: Backend> Access<Device<B>> for Root
[src]
impl<B: Backend> Access<Device<B>> for Surface
[src]
impl<B: Backend> Access<Device<B>> for Adapter<B>
[src]
impl<B: Backend> Access<PipelineLayout<B>> for Device<B>
[src]
impl<B: Backend> Access<RenderBundle> for Device<B>
[src]
impl<B: Backend> Access<RenderPipeline<B>> for Device<B>
[src]
impl<B: Backend> Access<Sampler<B>> for Device<B>
[src]
impl<B: Backend> Access<ShaderModule<B>> for Device<B>
[src]
impl<B: Backend> Access<SwapChain<B>> for Device<B>
[src]
impl<B: Backend> Access<Texture<B>> for Device<B>
[src]
impl<B: Backend> Access<TextureView<B>> for Device<B>
[src]
impl<B: Debug + Backend> Debug for Device<B> where
B::Device: Debug,
B::RenderPass: Debug,
B::Framebuffer: Debug,
[src]
B::Device: Debug,
B::RenderPass: Debug,
B::Framebuffer: Debug,
Auto Trait Implementations
impl<B> !RefUnwindSafe for Device<B>
impl<B> Send for Device<B> where
<B as Backend>::Buffer: Send,
<B as Backend>::CommandBuffer: Send,
<B as Backend>::CommandPool: Send,
<B as Backend>::CommandQueue: Send,
<B as Backend>::ComputePipeline: Send,
<B as Backend>::DescriptorPool: Send,
<B as Backend>::DescriptorSet: Send,
<B as Backend>::DescriptorSetLayout: Send,
<B as Backend>::Device: Send,
<B as Backend>::Fence: Send,
<B as Backend>::Framebuffer: Send,
<B as Backend>::GraphicsPipeline: Send,
<B as Backend>::Image: Send,
<B as Backend>::ImageView: Send,
<B as Backend>::PipelineLayout: Send,
<B as Backend>::RenderPass: Send,
<B as Backend>::Sampler: Send,
<B as Backend>::Buffer: Send,
<B as Backend>::CommandBuffer: Send,
<B as Backend>::CommandPool: Send,
<B as Backend>::CommandQueue: Send,
<B as Backend>::ComputePipeline: Send,
<B as Backend>::DescriptorPool: Send,
<B as Backend>::DescriptorSet: Send,
<B as Backend>::DescriptorSetLayout: Send,
<B as Backend>::Device: Send,
<B as Backend>::Fence: Send,
<B as Backend>::Framebuffer: Send,
<B as Backend>::GraphicsPipeline: Send,
<B as Backend>::Image: Send,
<B as Backend>::ImageView: Send,
<B as Backend>::PipelineLayout: Send,
<B as Backend>::RenderPass: Send,
<B as Backend>::Sampler: Send,
impl<B> Sync for Device<B> where
<B as Backend>::Buffer: Send + Sync,
<B as Backend>::CommandBuffer: Send + Sync,
<B as Backend>::CommandPool: Send,
<B as Backend>::CommandQueue: Sync,
<B as Backend>::ComputePipeline: Send,
<B as Backend>::DescriptorPool: Send,
<B as Backend>::DescriptorSet: Send,
<B as Backend>::DescriptorSetLayout: Send,
<B as Backend>::Device: Sync,
<B as Backend>::Fence: Send,
<B as Backend>::Framebuffer: Send,
<B as Backend>::GraphicsPipeline: Send,
<B as Backend>::Image: Send,
<B as Backend>::ImageView: Send,
<B as Backend>::PipelineLayout: Send,
<B as Backend>::RenderPass: Send,
<B as Backend>::Sampler: Send,
<B as Backend>::Buffer: Send + Sync,
<B as Backend>::CommandBuffer: Send + Sync,
<B as Backend>::CommandPool: Send,
<B as Backend>::CommandQueue: Sync,
<B as Backend>::ComputePipeline: Send,
<B as Backend>::DescriptorPool: Send,
<B as Backend>::DescriptorSet: Send,
<B as Backend>::DescriptorSetLayout: Send,
<B as Backend>::Device: Sync,
<B as Backend>::Fence: Send,
<B as Backend>::Framebuffer: Send,
<B as Backend>::GraphicsPipeline: Send,
<B as Backend>::Image: Send,
<B as Backend>::ImageView: Send,
<B as Backend>::PipelineLayout: Send,
<B as Backend>::RenderPass: Send,
<B as Backend>::Sampler: Send,
impl<B> Unpin for Device<B> where
<B as Backend>::Buffer: Unpin,
<B as Backend>::CommandBuffer: Unpin,
<B as Backend>::CommandPool: Unpin,
<B as Backend>::CommandQueue: Unpin,
<B as Backend>::ComputePipeline: Unpin,
<B as Backend>::DescriptorPool: Unpin,
<B as Backend>::DescriptorSet: Unpin,
<B as Backend>::DescriptorSetLayout: Unpin,
<B as Backend>::Device: Unpin,
<B as Backend>::Fence: Unpin,
<B as Backend>::Framebuffer: Unpin,
<B as Backend>::GraphicsPipeline: Unpin,
<B as Backend>::Image: Unpin,
<B as Backend>::ImageView: Unpin,
<B as Backend>::Memory: Unpin,
<B as Backend>::PipelineLayout: Unpin,
<B as Backend>::RenderPass: Unpin,
<B as Backend>::Sampler: Unpin,
<B as Backend>::Buffer: Unpin,
<B as Backend>::CommandBuffer: Unpin,
<B as Backend>::CommandPool: Unpin,
<B as Backend>::CommandQueue: Unpin,
<B as Backend>::ComputePipeline: Unpin,
<B as Backend>::DescriptorPool: Unpin,
<B as Backend>::DescriptorSet: Unpin,
<B as Backend>::DescriptorSetLayout: Unpin,
<B as Backend>::Device: Unpin,
<B as Backend>::Fence: Unpin,
<B as Backend>::Framebuffer: Unpin,
<B as Backend>::GraphicsPipeline: Unpin,
<B as Backend>::Image: Unpin,
<B as Backend>::ImageView: Unpin,
<B as Backend>::Memory: Unpin,
<B as Backend>::PipelineLayout: Unpin,
<B as Backend>::RenderPass: Unpin,
<B as Backend>::Sampler: Unpin,
impl<B> UnwindSafe for Device<B> where
<B as Backend>::Buffer: UnwindSafe,
<B as Backend>::CommandBuffer: UnwindSafe,
<B as Backend>::CommandPool: UnwindSafe,
<B as Backend>::CommandQueue: UnwindSafe,
<B as Backend>::ComputePipeline: UnwindSafe,
<B as Backend>::DescriptorPool: UnwindSafe,
<B as Backend>::DescriptorSet: UnwindSafe,
<B as Backend>::DescriptorSetLayout: UnwindSafe,
<B as Backend>::Device: UnwindSafe,
<B as Backend>::Fence: UnwindSafe,
<B as Backend>::Framebuffer: UnwindSafe,
<B as Backend>::GraphicsPipeline: UnwindSafe,
<B as Backend>::Image: UnwindSafe,
<B as Backend>::ImageView: UnwindSafe,
<B as Backend>::Memory: RefUnwindSafe + UnwindSafe,
<B as Backend>::PipelineLayout: UnwindSafe,
<B as Backend>::RenderPass: UnwindSafe,
<B as Backend>::Sampler: UnwindSafe,
<B as Backend>::Buffer: UnwindSafe,
<B as Backend>::CommandBuffer: UnwindSafe,
<B as Backend>::CommandPool: UnwindSafe,
<B as Backend>::CommandQueue: UnwindSafe,
<B as Backend>::ComputePipeline: UnwindSafe,
<B as Backend>::DescriptorPool: UnwindSafe,
<B as Backend>::DescriptorSet: UnwindSafe,
<B as Backend>::DescriptorSetLayout: UnwindSafe,
<B as Backend>::Device: UnwindSafe,
<B as Backend>::Fence: UnwindSafe,
<B as Backend>::Framebuffer: UnwindSafe,
<B as Backend>::GraphicsPipeline: UnwindSafe,
<B as Backend>::Image: UnwindSafe,
<B as Backend>::ImageView: UnwindSafe,
<B as Backend>::Memory: RefUnwindSafe + UnwindSafe,
<B as Backend>::PipelineLayout: UnwindSafe,
<B as Backend>::RenderPass: UnwindSafe,
<B as Backend>::Sampler: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,