#[repr(C)]pub struct SwapchainPresentScalingCreateInfoKHR {
pub s_type: StructureType,
pub next: *const c_void,
pub scaling_behavior: PresentScalingFlagsKHR,
pub present_gravity_x: PresentGravityFlagsKHR,
pub present_gravity_y: PresentGravityFlagsKHR,
}Expand description
Fields§
§s_type: StructureType§next: *const c_void§scaling_behavior: PresentScalingFlagsKHR§present_gravity_x: PresentGravityFlagsKHR§present_gravity_y: PresentGravityFlagsKHRTrait Implementations§
Source§impl Clone for SwapchainPresentScalingCreateInfoKHR
impl Clone for SwapchainPresentScalingCreateInfoKHR
Source§fn clone(&self) -> SwapchainPresentScalingCreateInfoKHR
fn clone(&self) -> SwapchainPresentScalingCreateInfoKHR
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 SwapchainPresentScalingCreateInfoKHR
impl PartialEq for SwapchainPresentScalingCreateInfoKHR
Source§fn eq(&self, other: &SwapchainPresentScalingCreateInfoKHR) -> bool
fn eq(&self, other: &SwapchainPresentScalingCreateInfoKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SwapchainPresentScalingCreateInfoKHR
impl Eq for SwapchainPresentScalingCreateInfoKHR
impl Send for SwapchainPresentScalingCreateInfoKHR
impl StructuralPartialEq for SwapchainPresentScalingCreateInfoKHR
impl Sync for SwapchainPresentScalingCreateInfoKHR
Auto Trait Implementations§
impl Freeze for SwapchainPresentScalingCreateInfoKHR
impl RefUnwindSafe for SwapchainPresentScalingCreateInfoKHR
impl Unpin for SwapchainPresentScalingCreateInfoKHR
impl UnwindSafe for SwapchainPresentScalingCreateInfoKHR
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