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