pub struct WaylandSurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> WaylandSurfaceCreateInfoKHRBuilder<'a>
impl<'a> WaylandSurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: WaylandSurfaceCreateFlagsKHR) -> Self
pub fn display(self, display: *mut wl_display) -> Self
pub fn surface(self, surface: *mut wl_surface) -> Self
Sourcepub fn build(self) -> WaylandSurfaceCreateInfoKHR
pub fn build(self) -> WaylandSurfaceCreateInfoKHR
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 WaylandSurfaceCreateInfoKHRBuilder<'a>
impl<'a> Deref for WaylandSurfaceCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for WaylandSurfaceCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for WaylandSurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Send for WaylandSurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Sync for WaylandSurfaceCreateInfoKHRBuilder<'a>
impl<'a> Unpin for WaylandSurfaceCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for WaylandSurfaceCreateInfoKHRBuilder<'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