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