#[repr(C)]pub struct SurfacePresentScalingCapabilitiesKHR {
pub s_type: StructureType,
pub next: *mut c_void,
pub supported_present_scaling: PresentScalingFlagsKHR,
pub supported_present_gravity_x: PresentGravityFlagsKHR,
pub supported_present_gravity_y: PresentGravityFlagsKHR,
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: PresentScalingFlagsKHR§supported_present_gravity_x: PresentGravityFlagsKHR§supported_present_gravity_y: PresentGravityFlagsKHR§min_scaled_image_extent: Extent2D§max_scaled_image_extent: Extent2DTrait Implementations§
Source§impl Clone for SurfacePresentScalingCapabilitiesKHR
impl Clone for SurfacePresentScalingCapabilitiesKHR
Source§fn clone(&self) -> SurfacePresentScalingCapabilitiesKHR
fn clone(&self) -> SurfacePresentScalingCapabilitiesKHR
Returns a duplicate 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 PartialEq for SurfacePresentScalingCapabilitiesKHR
impl PartialEq for SurfacePresentScalingCapabilitiesKHR
Source§fn eq(&self, other: &SurfacePresentScalingCapabilitiesKHR) -> bool
fn eq(&self, other: &SurfacePresentScalingCapabilitiesKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SurfacePresentScalingCapabilitiesKHR
impl Eq for SurfacePresentScalingCapabilitiesKHR
impl Send for SurfacePresentScalingCapabilitiesKHR
impl StructuralPartialEq for SurfacePresentScalingCapabilitiesKHR
impl Sync for SurfacePresentScalingCapabilitiesKHR
Auto Trait Implementations§
impl Freeze for SurfacePresentScalingCapabilitiesKHR
impl RefUnwindSafe for SurfacePresentScalingCapabilitiesKHR
impl Unpin for SurfacePresentScalingCapabilitiesKHR
impl UnwindSafe for SurfacePresentScalingCapabilitiesKHR
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