Struct ash::vk::SurfacePresentScalingCapabilitiesEXT
source · #[repr(C)]pub struct SurfacePresentScalingCapabilitiesEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub supported_present_scaling: PresentScalingFlagsEXT,
pub supported_present_gravity_x: PresentGravityFlagsEXT,
pub supported_present_gravity_y: PresentGravityFlagsEXT,
pub min_scaled_image_extent: Extent2D,
pub max_scaled_image_extent: Extent2D,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§supported_present_scaling: PresentScalingFlagsEXT
§supported_present_gravity_x: PresentGravityFlagsEXT
§supported_present_gravity_y: PresentGravityFlagsEXT
§min_scaled_image_extent: Extent2D
§max_scaled_image_extent: Extent2D
Implementations§
source§impl SurfacePresentScalingCapabilitiesEXT
impl SurfacePresentScalingCapabilitiesEXT
pub fn builder<'a>() -> SurfacePresentScalingCapabilitiesEXTBuilder<'a>
Trait Implementations§
source§impl Clone for SurfacePresentScalingCapabilitiesEXT
impl Clone for SurfacePresentScalingCapabilitiesEXT
source§fn clone(&self) -> SurfacePresentScalingCapabilitiesEXT
fn clone(&self) -> SurfacePresentScalingCapabilitiesEXT
Returns a copy 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 TaggedStructure for SurfacePresentScalingCapabilitiesEXT
impl TaggedStructure for SurfacePresentScalingCapabilitiesEXT
const STRUCTURE_TYPE: StructureType = StructureType::SURFACE_PRESENT_SCALING_CAPABILITIES_EXT
impl Copy for SurfacePresentScalingCapabilitiesEXT
impl ExtendsSurfaceCapabilities2KHR for SurfacePresentScalingCapabilitiesEXT
Auto Trait Implementations§
impl Freeze for SurfacePresentScalingCapabilitiesEXT
impl RefUnwindSafe for SurfacePresentScalingCapabilitiesEXT
impl !Send for SurfacePresentScalingCapabilitiesEXT
impl !Sync for SurfacePresentScalingCapabilitiesEXT
impl Unpin for SurfacePresentScalingCapabilitiesEXT
impl UnwindSafe for SurfacePresentScalingCapabilitiesEXT
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