#[repr(C)]pub struct VkSwapchainCreateInfoKHR {Show 18 fields
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkSwapchainCreateFlagsKHR,
pub surface: VkSurfaceKHR,
pub minImageCount: u32,
pub imageFormat: VkFormat,
pub imageColorSpace: VkColorSpaceKHR,
pub imageExtent: VkExtent2D,
pub imageArrayLayers: u32,
pub imageUsage: VkImageUsageFlags,
pub imageSharingMode: VkSharingMode,
pub queueFamilyIndexCount: u32,
pub pQueueFamilyIndices: *const u32,
pub preTransform: VkSurfaceTransformFlagBitsKHR,
pub compositeAlpha: VkCompositeAlphaFlagBitsKHR,
pub presentMode: VkPresentModeKHR,
pub clipped: VkBool32,
pub oldSwapchain: Option<VkSwapchainKHR>,
}Fields§
§sType: VkStructureType§pNext: *const c_void§flags: VkSwapchainCreateFlagsKHR§surface: VkSurfaceKHR§minImageCount: u32§imageFormat: VkFormat§imageColorSpace: VkColorSpaceKHR§imageExtent: VkExtent2D§imageArrayLayers: u32§imageUsage: VkImageUsageFlags§imageSharingMode: VkSharingMode§queueFamilyIndexCount: u32§pQueueFamilyIndices: *const u32§preTransform: VkSurfaceTransformFlagBitsKHR§compositeAlpha: VkCompositeAlphaFlagBitsKHR§presentMode: VkPresentModeKHR§clipped: VkBool32§oldSwapchain: Option<VkSwapchainKHR>Trait Implementations§
Source§impl Clone for VkSwapchainCreateInfoKHR
impl Clone for VkSwapchainCreateInfoKHR
Source§fn clone(&self) -> VkSwapchainCreateInfoKHR
fn clone(&self) -> VkSwapchainCreateInfoKHR
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkSwapchainCreateInfoKHR
impl Debug for VkSwapchainCreateInfoKHR
Source§impl TypedVulkanStructure for VkSwapchainCreateInfoKHR
Available on crate feature VK_KHR_swapchain only.
impl TypedVulkanStructure for VkSwapchainCreateInfoKHR
Available on crate feature
VK_KHR_swapchain only.Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkSwapchainCreateInfoKHR
Available on crate feature VK_KHR_swapchain only.
impl VulkanStructure for VkSwapchainCreateInfoKHR
Available on crate feature
VK_KHR_swapchain only.Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkSwapchainCreateInfoKHR
impl RefUnwindSafe for VkSwapchainCreateInfoKHR
impl !Send for VkSwapchainCreateInfoKHR
impl !Sync for VkSwapchainCreateInfoKHR
impl Unpin for VkSwapchainCreateInfoKHR
impl UnsafeUnpin for VkSwapchainCreateInfoKHR
impl UnwindSafe for VkSwapchainCreateInfoKHR
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