#[repr(C)]pub struct AndroidHardwareBufferPropertiesANDROID {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub allocation_size: u64,
pub memory_type_bits: u32,
}Expand description
VkAndroidHardwareBufferPropertiesANDROID
Provided by VK_ANDROID_external_memory_android_hardware_buffer.
Returned only*, filled by Vulkan, not constructed by the application.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID.
p_next: *mut c_voidOptional, may be null.
allocation_size: u64§memory_type_bits: u32Implementations§
Source§impl AndroidHardwareBufferPropertiesANDROID
impl AndroidHardwareBufferPropertiesANDROID
Sourcepub fn builder<'a>() -> AndroidHardwareBufferPropertiesANDROIDBuilder<'a>
pub fn builder<'a>() -> AndroidHardwareBufferPropertiesANDROIDBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for AndroidHardwareBufferPropertiesANDROID
impl Clone for AndroidHardwareBufferPropertiesANDROID
Source§fn clone(&self) -> AndroidHardwareBufferPropertiesANDROID
fn clone(&self) -> AndroidHardwareBufferPropertiesANDROID
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 moreimpl Copy for AndroidHardwareBufferPropertiesANDROID
Auto Trait Implementations§
impl Freeze for AndroidHardwareBufferPropertiesANDROID
impl RefUnwindSafe for AndroidHardwareBufferPropertiesANDROID
impl !Send for AndroidHardwareBufferPropertiesANDROID
impl !Sync for AndroidHardwareBufferPropertiesANDROID
impl Unpin for AndroidHardwareBufferPropertiesANDROID
impl UnsafeUnpin for AndroidHardwareBufferPropertiesANDROID
impl UnwindSafe for AndroidHardwareBufferPropertiesANDROID
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