pub unsafe trait DeviceOwned {
    // Required method
    fn device(&self) -> &Arc<Device>;
}
Expand description

Implemented on objects that belong to a Vulkan device.

Safety

  • device() must return the correct device.

Required Methods§

source

fn device(&self) -> &Arc<Device>

Returns the device that owns self.

Implementors§

source§

impl DeviceOwned for AccelerationStructure

source§

impl DeviceOwned for Buffer

source§

impl DeviceOwned for RawBuffer

source§

impl DeviceOwned for BufferView

source§

impl DeviceOwned for StandardCommandBufferAlloc

source§

impl DeviceOwned for StandardCommandBufferAllocator

source§

impl DeviceOwned for StandardCommandBufferBuilderAlloc

source§

impl DeviceOwned for CommandPool

source§

impl DeviceOwned for CommandPoolAlloc

source§

impl DeviceOwned for DeferredOperation

source§

impl DeviceOwned for StandardDescriptorSetAllocator

source§

impl DeviceOwned for DescriptorSetLayout

source§

impl DeviceOwned for DescriptorPool

source§

impl DeviceOwned for DescriptorPoolAlloc

source§

impl DeviceOwned for Sampler

source§

impl DeviceOwned for SamplerYcbcrConversion

source§

impl DeviceOwned for Image

source§

impl DeviceOwned for RawImage

source§

impl DeviceOwned for ImageView

source§

impl DeviceOwned for DeviceMemory

source§

impl DeviceOwned for MappedDeviceMemory

source§

impl DeviceOwned for ResourceMemory

source§

impl DeviceOwned for PipelineCache

source§

impl DeviceOwned for ComputePipeline

source§

impl DeviceOwned for GraphicsPipeline

source§

impl DeviceOwned for PipelineLayout

source§

impl DeviceOwned for QueryPool

source§

impl DeviceOwned for Framebuffer

source§

impl DeviceOwned for RenderPass

source§

impl DeviceOwned for ShaderModule

source§

impl DeviceOwned for SpecializedShaderModule

source§

impl DeviceOwned for Swapchain

source§

impl DeviceOwned for SwapchainAcquireFuture

source§

impl DeviceOwned for Event

source§

impl DeviceOwned for Fence

source§

impl DeviceOwned for NowFuture

source§

impl DeviceOwned for Semaphore

source§

impl DeviceOwned for PrivateDataSlot

source§

impl DeviceOwned for Queue

source§

impl<A> DeviceOwned for SubbufferAllocator<A>where A: MemoryAllocator,

source§

impl<A> DeviceOwned for PrimaryAutoCommandBuffer<A>where A: CommandBufferAllocator,

source§

impl<A> DeviceOwned for SecondaryAutoCommandBuffer<A>where A: CommandBufferAllocator,

source§

impl<A> DeviceOwned for UnsafeCommandBuffer<A>where A: CommandBufferAllocator,

source§

impl<A> DeviceOwned for UnsafeCommandBufferBuilder<A>where A: CommandBufferAllocator,

source§

impl<A, B> DeviceOwned for JoinFuture<A, B>where A: DeviceOwned, B: DeviceOwned,

source§

impl<F> DeviceOwned for CommandBufferExecFuture<F>where F: GpuFuture,

source§

impl<F> DeviceOwned for FenceSignalFuture<F>where F: GpuFuture,

source§

impl<F> DeviceOwned for SemaphoreSignalFuture<F>where F: GpuFuture,

source§

impl<L, A> DeviceOwned for AutoCommandBufferBuilder<L, A>where A: CommandBufferAllocator,

source§

impl<P> DeviceOwned for PersistentDescriptorSet<P>where P: DescriptorSetAlloc,

source§

impl<P> DeviceOwned for UnsafeDescriptorSet<P>where P: DescriptorSetAlloc,

source§

impl<P> DeviceOwned for PresentFuture<P>where P: GpuFuture,

source§

impl<S> DeviceOwned for GenericMemoryAllocator<S>

source§

impl<T> DeviceOwned for Twhere T: Deref, T::Target: DeviceOwned,

source§

impl<T: ?Sized> DeviceOwned for Subbuffer<T>