#[repr(C)]pub struct SurfacePresentModeCompatibilityKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_mode_count: u32,
pub p_present_modes: *mut PresentModeKHR,
}Expand description
VkSurfacePresentModeCompatibilityKHR
Provided by VK_KHR_surface_maintenance1.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_KHR.
p_next: *mut c_voidOptional, may be null.
present_mode_count: u32Length of p_present_modes.
p_present_modes: *mut PresentModeKHROptional, may be null.
Implementations§
Source§impl SurfacePresentModeCompatibilityKHR
impl SurfacePresentModeCompatibilityKHR
Sourcepub fn builder<'a>() -> SurfacePresentModeCompatibilityKHRBuilder<'a>
pub fn builder<'a>() -> SurfacePresentModeCompatibilityKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SurfacePresentModeCompatibilityKHR
impl Clone for SurfacePresentModeCompatibilityKHR
Source§fn clone(&self) -> SurfacePresentModeCompatibilityKHR
fn clone(&self) -> SurfacePresentModeCompatibilityKHR
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 moreimpl Copy for SurfacePresentModeCompatibilityKHR
impl ExtendsSurfaceCapabilities2KHR for SurfacePresentModeCompatibilityKHR
Auto Trait Implementations§
impl Freeze for SurfacePresentModeCompatibilityKHR
impl RefUnwindSafe for SurfacePresentModeCompatibilityKHR
impl !Send for SurfacePresentModeCompatibilityKHR
impl !Sync for SurfacePresentModeCompatibilityKHR
impl Unpin for SurfacePresentModeCompatibilityKHR
impl UnsafeUnpin for SurfacePresentModeCompatibilityKHR
impl UnwindSafe for SurfacePresentModeCompatibilityKHR
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