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