Struct ash::vk::NativeBufferUsage2ANDROIDBuilder
source · pub struct NativeBufferUsage2ANDROIDBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> NativeBufferUsage2ANDROIDBuilder<'a>
pub fn consumer(self, consumer: u64) -> Self
pub fn producer(self, producer: u64) -> Self
sourcepub fn build(self) -> NativeBufferUsage2ANDROID
pub fn build(self) -> NativeBufferUsage2ANDROID
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 NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> Deref for NativeBufferUsage2ANDROIDBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> RefUnwindSafe for NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> Send for NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> Sync for NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> Unpin for NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> UnwindSafe for NativeBufferUsage2ANDROIDBuilder<'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