Struct ash::vk::DisplaySurfaceCreateInfoKHRBuilder
source · [−]#[repr(transparent)]pub struct DisplaySurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> Deref for DisplaySurfaceCreateInfoKHRBuilder<'a>
type Target = DisplaySurfaceCreateInfoKHR
type Target = DisplaySurfaceCreateInfoKHR
The resulting type after dereferencing.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more