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