Struct ash::vk::SurfacePresentScalingCapabilitiesEXT
source · #[repr(C)]pub struct SurfacePresentScalingCapabilitiesEXT<'a> {
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,
pub _marker: PhantomData<&'a ()>,
}
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
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SurfacePresentScalingCapabilitiesEXT<'a>
impl<'a> SurfacePresentScalingCapabilitiesEXT<'a>
pub fn supported_present_scaling( self, supported_present_scaling: PresentScalingFlagsEXT, ) -> Self
pub fn supported_present_gravity_x( self, supported_present_gravity_x: PresentGravityFlagsEXT, ) -> Self
pub fn supported_present_gravity_y( self, supported_present_gravity_y: PresentGravityFlagsEXT, ) -> Self
pub fn min_scaled_image_extent(self, min_scaled_image_extent: Extent2D) -> Self
pub fn max_scaled_image_extent(self, max_scaled_image_extent: Extent2D) -> Self
Trait Implementations§
source§impl<'a> Clone for SurfacePresentScalingCapabilitiesEXT<'a>
impl<'a> Clone for SurfacePresentScalingCapabilitiesEXT<'a>
source§fn clone(&self) -> SurfacePresentScalingCapabilitiesEXT<'a>
fn clone(&self) -> SurfacePresentScalingCapabilitiesEXT<'a>
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<'a> Debug for SurfacePresentScalingCapabilitiesEXT<'a>
impl<'a> Debug for SurfacePresentScalingCapabilitiesEXT<'a>
source§impl Default for SurfacePresentScalingCapabilitiesEXT<'_>
impl Default for SurfacePresentScalingCapabilitiesEXT<'_>
source§impl<'a> TaggedStructure for SurfacePresentScalingCapabilitiesEXT<'a>
impl<'a> TaggedStructure for SurfacePresentScalingCapabilitiesEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SURFACE_PRESENT_SCALING_CAPABILITIES_EXT
impl<'a> Copy for SurfacePresentScalingCapabilitiesEXT<'a>
impl ExtendsSurfaceCapabilities2KHR for SurfacePresentScalingCapabilitiesEXT<'_>
impl Send for SurfacePresentScalingCapabilitiesEXT<'_>
impl Sync for SurfacePresentScalingCapabilitiesEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for SurfacePresentScalingCapabilitiesEXT<'a>
impl<'a> RefUnwindSafe for SurfacePresentScalingCapabilitiesEXT<'a>
impl<'a> Unpin for SurfacePresentScalingCapabilitiesEXT<'a>
impl<'a> UnwindSafe for SurfacePresentScalingCapabilitiesEXT<'a>
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