#[repr(transparent)]pub struct SurfacePresentScalingCapabilitiesEXTBuilder { /* private fields */ }
Expand description
A builder for a SurfacePresentScalingCapabilitiesEXT
.
Implementations§
source§impl SurfacePresentScalingCapabilitiesEXTBuilder
impl SurfacePresentScalingCapabilitiesEXTBuilder
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: impl Cast<Target = Extent2D> ) -> Self
pub fn max_scaled_image_extent( self, max_scaled_image_extent: impl Cast<Target = Extent2D> ) -> Self
pub fn build(self) -> SurfacePresentScalingCapabilitiesEXT
Trait Implementations§
source§impl Cast for SurfacePresentScalingCapabilitiesEXTBuilder
impl Cast for SurfacePresentScalingCapabilitiesEXTBuilder
§type Target = SurfacePresentScalingCapabilitiesEXT
type Target = SurfacePresentScalingCapabilitiesEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SurfacePresentScalingCapabilitiesEXTBuilder
impl Clone for SurfacePresentScalingCapabilitiesEXTBuilder
source§fn clone(&self) -> SurfacePresentScalingCapabilitiesEXTBuilder
fn clone(&self) -> SurfacePresentScalingCapabilitiesEXTBuilder
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 Default for SurfacePresentScalingCapabilitiesEXTBuilder
impl Default for SurfacePresentScalingCapabilitiesEXTBuilder
source§fn default() -> SurfacePresentScalingCapabilitiesEXTBuilder
fn default() -> SurfacePresentScalingCapabilitiesEXTBuilder
Returns the “default value” for a type. Read more
impl Copy for SurfacePresentScalingCapabilitiesEXTBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SurfacePresentScalingCapabilitiesEXTBuilder
impl !Send for SurfacePresentScalingCapabilitiesEXTBuilder
impl !Sync for SurfacePresentScalingCapabilitiesEXTBuilder
impl Unpin for SurfacePresentScalingCapabilitiesEXTBuilder
impl UnwindSafe for SurfacePresentScalingCapabilitiesEXTBuilder
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