#[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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)