Trait vulkano::device::DeviceOwned [] [src]

pub unsafe trait DeviceOwned {
    fn device(&self) -> &Arc<Device>;
}

Implemented on objects that belong to a Vulkan device.

Safety

  • device() must return the correct device.

Required Methods

Returns the device that owns Self.

Implementors