#[repr(C)]pub struct SurfacePresentScalingCapabilitiesEXT {
pub s_type: StructureType,
pub 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
§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
Trait Implementations§
source§impl Cast for SurfacePresentScalingCapabilitiesEXT
impl Cast for SurfacePresentScalingCapabilitiesEXT
§type Target = SurfacePresentScalingCapabilitiesEXT
type Target = SurfacePresentScalingCapabilitiesEXT
The other type this type can be used interchangeably with in FFI.
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 Default for SurfacePresentScalingCapabilitiesEXT
impl Default for SurfacePresentScalingCapabilitiesEXT
source§fn default() -> SurfacePresentScalingCapabilitiesEXT
fn default() -> SurfacePresentScalingCapabilitiesEXT
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for SurfacePresentScalingCapabilitiesEXT
impl HasBuilder<'static> for SurfacePresentScalingCapabilitiesEXT
source§impl PartialEq<SurfacePresentScalingCapabilitiesEXT> for SurfacePresentScalingCapabilitiesEXT
impl PartialEq<SurfacePresentScalingCapabilitiesEXT> for SurfacePresentScalingCapabilitiesEXT
source§fn eq(&self, other: &SurfacePresentScalingCapabilitiesEXT) -> bool
fn eq(&self, other: &SurfacePresentScalingCapabilitiesEXT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SurfacePresentScalingCapabilitiesEXT
impl Eq for SurfacePresentScalingCapabilitiesEXT
impl ExtendsSurfaceCapabilities2KHR for SurfacePresentScalingCapabilitiesEXT
impl StructuralEq for SurfacePresentScalingCapabilitiesEXT
impl StructuralPartialEq for SurfacePresentScalingCapabilitiesEXT
Auto Trait Implementations§
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