Struct vulkanalia::vk::SwapchainCreateInfoKHRBuilder
source · #[repr(transparent)]pub struct SwapchainCreateInfoKHRBuilder<'b> { /* private fields */ }
Expand description
A builder for a SwapchainCreateInfoKHR
.
Implementations§
source§impl<'b> SwapchainCreateInfoKHRBuilder<'b>
impl<'b> SwapchainCreateInfoKHRBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsSwapchainCreateInfoKHR,
pub fn flags(self, flags: SwapchainCreateFlagsKHR) -> Self
pub fn surface(self, surface: SurfaceKHR) -> Self
pub fn min_image_count(self, min_image_count: u32) -> Self
pub fn image_format(self, image_format: Format) -> Self
pub fn image_color_space(self, image_color_space: ColorSpaceKHR) -> Self
pub fn image_extent(self, image_extent: impl Cast<Target = Extent2D>) -> Self
pub fn image_array_layers(self, image_array_layers: u32) -> Self
pub fn image_usage(self, image_usage: ImageUsageFlags) -> Self
pub fn image_sharing_mode(self, image_sharing_mode: SharingMode) -> Self
pub fn queue_family_indices(self, queue_family_indices: &'b [u32]) -> Self
pub fn pre_transform(self, pre_transform: SurfaceTransformFlagsKHR) -> Self
pub fn composite_alpha(self, composite_alpha: CompositeAlphaFlagsKHR) -> Self
pub fn present_mode(self, present_mode: PresentModeKHR) -> Self
pub fn clipped(self, clipped: bool) -> Self
pub fn old_swapchain(self, old_swapchain: SwapchainKHR) -> Self
pub fn build(self) -> SwapchainCreateInfoKHR
Trait Implementations§
source§impl<'b> Cast for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> Cast for SwapchainCreateInfoKHRBuilder<'b>
§type Target = SwapchainCreateInfoKHR
type Target = SwapchainCreateInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> Clone for SwapchainCreateInfoKHRBuilder<'b>
source§fn clone(&self) -> SwapchainCreateInfoKHRBuilder<'b>
fn clone(&self) -> SwapchainCreateInfoKHRBuilder<'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'b> Debug for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> Debug for SwapchainCreateInfoKHRBuilder<'b>
source§impl<'b> Default for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> Default for SwapchainCreateInfoKHRBuilder<'b>
source§fn default() -> SwapchainCreateInfoKHRBuilder<'b>
fn default() -> SwapchainCreateInfoKHRBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> Deref for SwapchainCreateInfoKHRBuilder<'b>
source§impl<'b> DerefMut for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> DerefMut for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> Copy for SwapchainCreateInfoKHRBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> !Send for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> !Sync for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> Unpin for SwapchainCreateInfoKHRBuilder<'b>
impl<'b> UnwindSafe for SwapchainCreateInfoKHRBuilder<'b>
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