pub struct XcbSurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> XcbSurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: XcbSurfaceCreateFlagsKHR) -> Self
pub fn connection(self, connection: *mut xcb_connection_t) -> Self
pub fn window(self, window: xcb_window_t) -> Self
Sourcepub fn build(self) -> XcbSurfaceCreateInfoKHR
pub fn build(self) -> XcbSurfaceCreateInfoKHR
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 XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> Deref for XcbSurfaceCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Send for XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Sync for XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> Unpin for XcbSurfaceCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for XcbSurfaceCreateInfoKHRBuilder<'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