Skip to main content

DeviceOwned

Trait DeviceOwned 

Source
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 StandardCommandBufferAllocator

Source§

impl DeviceOwned for PrimaryAutoCommandBuffer

Source§

impl DeviceOwned for SecondaryAutoCommandBuffer

Source§

impl DeviceOwned for CommandPool

Source§

impl DeviceOwned for CommandPoolAlloc

Source§

impl DeviceOwned for CommandBuffer

Source§

impl DeviceOwned for RecordingCommandBuffer

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 DescriptorSet

Source§

impl DeviceOwned for RawDescriptorSet

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 RayTracingPipeline

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, 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> DeviceOwned for AutoCommandBufferBuilder<L>

Source§

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

Source§

impl<S> DeviceOwned for GenericMemoryAllocator<S>

Source§

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

Source§

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