OhosExternalMemoryExtensionDeviceCommands

Trait OhosExternalMemoryExtensionDeviceCommands 

Source
pub trait OhosExternalMemoryExtensionDeviceCommands: DeviceV1_0 {
    // Provided methods
    unsafe fn get_memory_native_buffer_ohos(
        &self,
        info: &MemoryGetNativeBufferInfoOHOS,
    ) -> VkResult<*mut OH_NativeBuffer> { ... }
    unsafe fn get_native_buffer_properties_ohos(
        &self,
        buffer: &OH_NativeBuffer,
        properties: &mut NativeBufferPropertiesOHOS,
    ) -> VkResult<()> { ... }
}
Expand description

The device-level commands added by OHOS_EXTERNAL_MEMORY_EXTENSION.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§