pub struct ImportAndroidHardwareBufferInfoANDROIDBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
pub fn buffer(self, buffer: *mut AHardwareBuffer) -> Self
sourcepub fn build(self) -> ImportAndroidHardwareBufferInfoANDROID
pub fn build(self) -> ImportAndroidHardwareBufferInfoANDROID
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> Deref for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
source§impl<'a> DerefMut for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> DerefMut for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl ExtendsMemoryAllocateInfo for ImportAndroidHardwareBufferInfoANDROIDBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> !Send for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> !Sync for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> Unpin for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> UnwindSafe for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
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