Struct ash::vk::AndroidSurfaceCreateInfoKHRBuilder
source · pub struct AndroidSurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AndroidSurfaceCreateInfoKHRBuilder<'a>
impl<'a> AndroidSurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: AndroidSurfaceCreateFlagsKHR) -> Self
pub fn window(self, window: *mut ANativeWindow) -> Self
sourcepub fn build(self) -> AndroidSurfaceCreateInfoKHR
pub fn build(self) -> AndroidSurfaceCreateInfoKHR
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 AndroidSurfaceCreateInfoKHRBuilder<'a>
impl<'a> Deref for AndroidSurfaceCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AndroidSurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Send for AndroidSurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Sync for AndroidSurfaceCreateInfoKHRBuilder<'a>
impl<'a> Unpin for AndroidSurfaceCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for AndroidSurfaceCreateInfoKHRBuilder<'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