#[repr(C)]pub struct NativeBufferUsageOHOS {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub ohos_native_buffer_usage: u64,
}Expand description
VkNativeBufferUsageOHOS
Provided by VK_OHOS_external_memory.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_NATIVE_BUFFER_USAGE_OHOS.
p_next: *mut c_voidOptional, may be null.
ohos_native_buffer_usage: u64Implementations§
Source§impl NativeBufferUsageOHOS
impl NativeBufferUsageOHOS
Sourcepub fn builder<'a>() -> NativeBufferUsageOHOSBuilder<'a>
pub fn builder<'a>() -> NativeBufferUsageOHOSBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for NativeBufferUsageOHOS
impl Clone for NativeBufferUsageOHOS
Source§fn clone(&self) -> NativeBufferUsageOHOS
fn clone(&self) -> NativeBufferUsageOHOS
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NativeBufferUsageOHOS
impl Debug for NativeBufferUsageOHOS
Source§impl Default for NativeBufferUsageOHOS
impl Default for NativeBufferUsageOHOS
Source§fn default() -> NativeBufferUsageOHOS
fn default() -> NativeBufferUsageOHOS
Returns the “default value” for a type. Read more
impl Copy for NativeBufferUsageOHOS
impl ExtendsImageFormatProperties2 for NativeBufferUsageOHOS
Auto Trait Implementations§
impl Freeze for NativeBufferUsageOHOS
impl RefUnwindSafe for NativeBufferUsageOHOS
impl !Send for NativeBufferUsageOHOS
impl !Sync for NativeBufferUsageOHOS
impl Unpin for NativeBufferUsageOHOS
impl UnsafeUnpin for NativeBufferUsageOHOS
impl UnwindSafe for NativeBufferUsageOHOS
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more