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