#[repr(C)]pub struct NativeBufferANDROID {
pub s_type: StructureType,
pub p_next: *const c_void,
pub handle: *const c_void,
pub stride: c_int,
pub format: c_int,
pub usage: c_int,
pub usage2: NativeBufferUsage2ANDROID,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID.
p_next: *const c_voidOptional, may be null.
handle: *const c_void§stride: c_int§format: c_int§usage: c_int§usage2: NativeBufferUsage2ANDROIDImplementations§
Source§impl NativeBufferANDROID
impl NativeBufferANDROID
Sourcepub fn builder<'a>() -> NativeBufferANDROIDBuilder<'a>
pub fn builder<'a>() -> NativeBufferANDROIDBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for NativeBufferANDROID
impl Clone for NativeBufferANDROID
Source§fn clone(&self) -> NativeBufferANDROID
fn clone(&self) -> NativeBufferANDROID
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 NativeBufferANDROID
impl Debug for NativeBufferANDROID
Source§impl Default for NativeBufferANDROID
impl Default for NativeBufferANDROID
impl Copy for NativeBufferANDROID
impl ExtendsBindImageMemoryInfo for NativeBufferANDROID
impl ExtendsImageCreateInfo for NativeBufferANDROID
Auto Trait Implementations§
impl Freeze for NativeBufferANDROID
impl RefUnwindSafe for NativeBufferANDROID
impl !Send for NativeBufferANDROID
impl !Sync for NativeBufferANDROID
impl Unpin for NativeBufferANDROID
impl UnsafeUnpin for NativeBufferANDROID
impl UnwindSafe for NativeBufferANDROID
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