#[repr(C)]pub struct SwapchainPresentModeInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub swapchain_count: u32,
pub p_present_modes: *const PresentModeKHR,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_KHR.
p_next: *const c_voidOptional, may be null.
swapchain_count: u32Length of p_present_modes.
p_present_modes: *const PresentModeKHRImplementations§
Source§impl SwapchainPresentModeInfoKHR
impl SwapchainPresentModeInfoKHR
Sourcepub fn builder<'a>() -> SwapchainPresentModeInfoKHRBuilder<'a>
pub fn builder<'a>() -> SwapchainPresentModeInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SwapchainPresentModeInfoKHR
impl Clone for SwapchainPresentModeInfoKHR
Source§fn clone(&self) -> SwapchainPresentModeInfoKHR
fn clone(&self) -> SwapchainPresentModeInfoKHR
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 moreSource§impl Debug for SwapchainPresentModeInfoKHR
impl Debug for SwapchainPresentModeInfoKHR
impl Copy for SwapchainPresentModeInfoKHR
impl ExtendsPresentInfoKHR for SwapchainPresentModeInfoKHR
Auto Trait Implementations§
impl Freeze for SwapchainPresentModeInfoKHR
impl RefUnwindSafe for SwapchainPresentModeInfoKHR
impl !Send for SwapchainPresentModeInfoKHR
impl !Sync for SwapchainPresentModeInfoKHR
impl Unpin for SwapchainPresentModeInfoKHR
impl UnsafeUnpin for SwapchainPresentModeInfoKHR
impl UnwindSafe for SwapchainPresentModeInfoKHR
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