#[repr(C)]pub struct NativeBufferPropertiesOHOS {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub allocation_size: u64,
pub memory_type_bits: u32,
}Expand description
VkNativeBufferPropertiesOHOS
Provided by VK_OHOS_external_memory.
Returned only*, filled by Vulkan, not constructed by the application.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_NATIVE_BUFFER_PROPERTIES_OHOS.
p_next: *mut c_voidOptional, may be null.
allocation_size: u64§memory_type_bits: u32Implementations§
Source§impl NativeBufferPropertiesOHOS
impl NativeBufferPropertiesOHOS
Sourcepub fn builder<'a>() -> NativeBufferPropertiesOHOSBuilder<'a>
pub fn builder<'a>() -> NativeBufferPropertiesOHOSBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for NativeBufferPropertiesOHOS
impl Clone for NativeBufferPropertiesOHOS
Source§fn clone(&self) -> NativeBufferPropertiesOHOS
fn clone(&self) -> NativeBufferPropertiesOHOS
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 NativeBufferPropertiesOHOS
impl Debug for NativeBufferPropertiesOHOS
Source§impl Default for NativeBufferPropertiesOHOS
impl Default for NativeBufferPropertiesOHOS
impl Copy for NativeBufferPropertiesOHOS
Auto Trait Implementations§
impl Freeze for NativeBufferPropertiesOHOS
impl RefUnwindSafe for NativeBufferPropertiesOHOS
impl !Send for NativeBufferPropertiesOHOS
impl !Sync for NativeBufferPropertiesOHOS
impl Unpin for NativeBufferPropertiesOHOS
impl UnsafeUnpin for NativeBufferPropertiesOHOS
impl UnwindSafe for NativeBufferPropertiesOHOS
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