pub struct DisplaySurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> DisplaySurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: DisplaySurfaceCreateFlagsKHR) -> Self
pub fn display_mode(self, display_mode: DisplayModeKHR) -> Self
pub fn plane_index(self, plane_index: u32) -> Self
pub fn plane_stack_index(self, plane_stack_index: u32) -> Self
pub fn transform(self, transform: SurfaceTransformFlagsKHR) -> Self
pub fn global_alpha(self, global_alpha: f32) -> Self
pub fn alpha_mode(self, alpha_mode: DisplayPlaneAlphaFlagsKHR) -> Self
pub fn image_extent(self, image_extent: Extent2D) -> Self
Sourcepub fn build(self) -> DisplaySurfaceCreateInfoKHR
pub fn build(self) -> DisplaySurfaceCreateInfoKHR
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 DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> Deref for DisplaySurfaceCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Send for DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> !Sync for DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> Unpin for DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for DisplaySurfaceCreateInfoKHRBuilder<'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