#[repr(C)]pub struct SurfacePresentScalingCapabilitiesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub supported_present_scaling: PresentScalingFlagsKHR,
pub supported_present_gravity_x: PresentGravityFlagsKHR,
pub supported_present_gravity_y: PresentGravityFlagsKHR,
pub min_scaled_image_extent: Extent2D,
pub max_scaled_image_extent: Extent2D,
}Expand description
VkSurfacePresentScalingCapabilitiesKHR
Provided by VK_KHR_surface_maintenance1.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_KHR.
p_next: *mut c_voidOptional, may be null.
supported_present_scaling: PresentScalingFlagsKHR§supported_present_gravity_x: PresentGravityFlagsKHR§supported_present_gravity_y: PresentGravityFlagsKHR§min_scaled_image_extent: Extent2D§max_scaled_image_extent: Extent2DImplementations§
Source§impl SurfacePresentScalingCapabilitiesKHR
impl SurfacePresentScalingCapabilitiesKHR
Sourcepub fn builder<'a>() -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
pub fn builder<'a>() -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for SurfacePresentScalingCapabilitiesKHR
impl Clone for SurfacePresentScalingCapabilitiesKHR
Source§fn clone(&self) -> SurfacePresentScalingCapabilitiesKHR
fn clone(&self) -> SurfacePresentScalingCapabilitiesKHR
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 SurfacePresentScalingCapabilitiesKHR
impl ExtendsSurfaceCapabilities2KHR for SurfacePresentScalingCapabilitiesKHR
Auto Trait Implementations§
impl Freeze for SurfacePresentScalingCapabilitiesKHR
impl RefUnwindSafe for SurfacePresentScalingCapabilitiesKHR
impl !Send for SurfacePresentScalingCapabilitiesKHR
impl !Sync for SurfacePresentScalingCapabilitiesKHR
impl Unpin for SurfacePresentScalingCapabilitiesKHR
impl UnsafeUnpin for SurfacePresentScalingCapabilitiesKHR
impl UnwindSafe for SurfacePresentScalingCapabilitiesKHR
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