pub struct SwapchainCreateInfoKHRBuilder<'a> { /* private fields */ }Expand description
Builder for SwapchainCreateInfoKHR with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> SwapchainCreateInfoKHRBuilder<'a>
impl<'a> SwapchainCreateInfoKHRBuilder<'a>
pub fn flags(self, value: SwapchainCreateFlagsKHR) -> Self
pub fn surface(self, value: SurfaceKHR) -> Self
pub fn min_image_count(self, value: u32) -> Self
pub fn image_format(self, value: Format) -> Self
pub fn image_color_space(self, value: ColorSpaceKHR) -> Self
pub fn image_extent(self, value: Extent2D) -> Self
pub fn image_array_layers(self, value: u32) -> Self
pub fn image_usage(self, value: ImageUsageFlags) -> Self
pub fn image_sharing_mode(self, value: SharingMode) -> Self
pub fn queue_family_indices(self, slice: &'a [u32]) -> Self
pub fn pre_transform(self, value: SurfaceTransformFlagBitsKHR) -> Self
pub fn composite_alpha(self, value: CompositeAlphaFlagBitsKHR) -> Self
pub fn present_mode(self, value: PresentModeKHR) -> Self
pub fn clipped(self, value: bool) -> Self
pub fn old_swapchain(self, value: SwapchainKHR) -> Self
Sourcepub fn push_next<T: ExtendsSwapchainCreateInfoKHR>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsSwapchainCreateInfoKHR>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See SwapchainCreateInfoKHR’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for SwapchainCreateInfoKHRBuilder<'a>
impl<'a> Deref for SwapchainCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SwapchainCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for SwapchainCreateInfoKHRBuilder<'a>
impl<'a> !Send for SwapchainCreateInfoKHRBuilder<'a>
impl<'a> !Sync for SwapchainCreateInfoKHRBuilder<'a>
impl<'a> Unpin for SwapchainCreateInfoKHRBuilder<'a>
impl<'a> UnsafeUnpin for SwapchainCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for SwapchainCreateInfoKHRBuilder<'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