#[repr(C)]pub struct SwapchainPresentModesCreateInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub present_mode_count: u32,
pub p_present_modes: *const PresentModeKHR,
}Expand description
VkSwapchainPresentModesCreateInfoKHR
Provided by VK_KHR_swapchain_maintenance1.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_KHR.
p_next: *const c_voidOptional, may be null.
present_mode_count: u32Length of p_present_modes.
p_present_modes: *const PresentModeKHRImplementations§
Source§impl SwapchainPresentModesCreateInfoKHR
impl SwapchainPresentModesCreateInfoKHR
Sourcepub fn builder<'a>() -> SwapchainPresentModesCreateInfoKHRBuilder<'a>
pub fn builder<'a>() -> SwapchainPresentModesCreateInfoKHRBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for SwapchainPresentModesCreateInfoKHR
impl Clone for SwapchainPresentModesCreateInfoKHR
Source§fn clone(&self) -> SwapchainPresentModesCreateInfoKHR
fn clone(&self) -> SwapchainPresentModesCreateInfoKHR
Returns a duplicate 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 moreimpl Copy for SwapchainPresentModesCreateInfoKHR
impl ExtendsSwapchainCreateInfoKHR for SwapchainPresentModesCreateInfoKHR
Auto Trait Implementations§
impl Freeze for SwapchainPresentModesCreateInfoKHR
impl RefUnwindSafe for SwapchainPresentModesCreateInfoKHR
impl !Send for SwapchainPresentModesCreateInfoKHR
impl !Sync for SwapchainPresentModesCreateInfoKHR
impl Unpin for SwapchainPresentModesCreateInfoKHR
impl UnsafeUnpin for SwapchainPresentModesCreateInfoKHR
impl UnwindSafe for SwapchainPresentModesCreateInfoKHR
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