#[repr(C)]pub struct PresentWait2InfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub present_id: u64,
pub timeout: u64,
}Expand description
VkPresentWait2InfoKHR
Provided by VK_KHR_present_wait2.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PRESENT_WAIT_2_INFO_KHR.
p_next: *const c_voidOptional, may be null.
present_id: u64§timeout: u64Implementations§
Source§impl PresentWait2InfoKHR
impl PresentWait2InfoKHR
Sourcepub fn builder<'a>() -> PresentWait2InfoKHRBuilder<'a>
pub fn builder<'a>() -> PresentWait2InfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PresentWait2InfoKHR
impl Clone for PresentWait2InfoKHR
Source§fn clone(&self) -> PresentWait2InfoKHR
fn clone(&self) -> PresentWait2InfoKHR
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 PresentWait2InfoKHR
impl Debug for PresentWait2InfoKHR
Source§impl Default for PresentWait2InfoKHR
impl Default for PresentWait2InfoKHR
Source§fn default() -> PresentWait2InfoKHR
fn default() -> PresentWait2InfoKHR
Returns the “default value” for a type. Read more
impl Copy for PresentWait2InfoKHR
Auto Trait Implementations§
impl Freeze for PresentWait2InfoKHR
impl RefUnwindSafe for PresentWait2InfoKHR
impl !Send for PresentWait2InfoKHR
impl !Sync for PresentWait2InfoKHR
impl Unpin for PresentWait2InfoKHR
impl UnsafeUnpin for PresentWait2InfoKHR
impl UnwindSafe for PresentWait2InfoKHR
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