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> Freeze for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
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