#[repr(C)]pub struct SurfacePresentModeKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_mode: PresentModeKHR,
}Expand description
VkSurfacePresentModeKHR
Provided by VK_KHR_surface_maintenance1.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_KHR.
p_next: *mut c_voidOptional, may be null.
present_mode: PresentModeKHRImplementations§
Source§impl SurfacePresentModeKHR
impl SurfacePresentModeKHR
Sourcepub fn builder<'a>() -> SurfacePresentModeKHRBuilder<'a>
pub fn builder<'a>() -> SurfacePresentModeKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SurfacePresentModeKHR
impl Clone for SurfacePresentModeKHR
Source§fn clone(&self) -> SurfacePresentModeKHR
fn clone(&self) -> SurfacePresentModeKHR
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 SurfacePresentModeKHR
impl Debug for SurfacePresentModeKHR
Source§impl Default for SurfacePresentModeKHR
impl Default for SurfacePresentModeKHR
impl Copy for SurfacePresentModeKHR
impl ExtendsPhysicalDeviceSurfaceInfo2KHR for SurfacePresentModeKHR
Auto Trait Implementations§
impl Freeze for SurfacePresentModeKHR
impl RefUnwindSafe for SurfacePresentModeKHR
impl !Send for SurfacePresentModeKHR
impl !Sync for SurfacePresentModeKHR
impl Unpin for SurfacePresentModeKHR
impl UnsafeUnpin for SurfacePresentModeKHR
impl UnwindSafe for SurfacePresentModeKHR
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