Trait vulkano::SynchronizedVulkanObject
source · pub unsafe trait SynchronizedVulkanObject {
type Object: VulkanHandle;
fn internal_object_guard(&self) -> MutexGuard<'_, Self::Object>;
}
Expand description
Gives access to the internal identifier of an object.
Required Associated Types
sourcetype Object: VulkanHandle
type Object: VulkanHandle
The type of the object.
Required Methods
sourcefn internal_object_guard(&self) -> MutexGuard<'_, Self::Object>
fn internal_object_guard(&self) -> MutexGuard<'_, Self::Object>
Returns a reference to the object.