pub trait VkHandleMut: VkHandle {
// Required method
fn native_ptr_mut(&mut self) -> Self::Handle;
// Provided method
fn as_transparent_ref_mut<'a>(
&'a mut self,
) -> VkHandleRefMut<'a, Self::Handle> { ... }
}Expand description
Wrapping a Vulkan Dispatchable/Nondispatchable Mutable Handler
Required Methods§
Sourcefn native_ptr_mut(&mut self) -> Self::Handle
fn native_ptr_mut(&mut self) -> Self::Handle
Retrieve an underlying mutable handle
Provided Methods§
fn as_transparent_ref_mut<'a>(&'a mut self) -> VkHandleRefMut<'a, Self::Handle>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".