#[repr(C)]pub struct SwapchainPresentScalingCreateInfoEXT {
pub s_type: StructureType,
pub next: *const c_void,
pub scaling_behavior: PresentScalingFlagsEXT,
pub present_gravity_x: PresentGravityFlagsEXT,
pub present_gravity_y: PresentGravityFlagsEXT,
}
Expand description
Fields§
§s_type: StructureType
§next: *const c_void
§scaling_behavior: PresentScalingFlagsEXT
§present_gravity_x: PresentGravityFlagsEXT
§present_gravity_y: PresentGravityFlagsEXT
Trait Implementations§
source§impl Cast for SwapchainPresentScalingCreateInfoEXT
impl Cast for SwapchainPresentScalingCreateInfoEXT
§type Target = SwapchainPresentScalingCreateInfoEXT
type Target = SwapchainPresentScalingCreateInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SwapchainPresentScalingCreateInfoEXT
impl Clone for SwapchainPresentScalingCreateInfoEXT
source§fn clone(&self) -> SwapchainPresentScalingCreateInfoEXT
fn clone(&self) -> SwapchainPresentScalingCreateInfoEXT
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 SwapchainPresentScalingCreateInfoEXT
impl Default for SwapchainPresentScalingCreateInfoEXT
source§fn default() -> SwapchainPresentScalingCreateInfoEXT
fn default() -> SwapchainPresentScalingCreateInfoEXT
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for SwapchainPresentScalingCreateInfoEXT
impl HasBuilder<'static> for SwapchainPresentScalingCreateInfoEXT
source§impl PartialEq<SwapchainPresentScalingCreateInfoEXT> for SwapchainPresentScalingCreateInfoEXT
impl PartialEq<SwapchainPresentScalingCreateInfoEXT> for SwapchainPresentScalingCreateInfoEXT
source§fn eq(&self, other: &SwapchainPresentScalingCreateInfoEXT) -> bool
fn eq(&self, other: &SwapchainPresentScalingCreateInfoEXT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SwapchainPresentScalingCreateInfoEXT
impl Eq for SwapchainPresentScalingCreateInfoEXT
impl ExtendsSwapchainCreateInfoKHR for SwapchainPresentScalingCreateInfoEXT
impl StructuralEq for SwapchainPresentScalingCreateInfoEXT
impl StructuralPartialEq for SwapchainPresentScalingCreateInfoEXT
Auto Trait Implementations§
impl RefUnwindSafe for SwapchainPresentScalingCreateInfoEXT
impl !Send for SwapchainPresentScalingCreateInfoEXT
impl !Sync for SwapchainPresentScalingCreateInfoEXT
impl Unpin for SwapchainPresentScalingCreateInfoEXT
impl UnwindSafe for SwapchainPresentScalingCreateInfoEXT
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