#[repr(C)]pub struct SwapchainPresentScalingCreateInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub scaling_behavior: PresentScalingFlagsKHR,
pub present_gravity_x: PresentGravityFlagsKHR,
pub present_gravity_y: PresentGravityFlagsKHR,
}Expand description
VkSwapchainPresentScalingCreateInfoKHR
Provided by VK_KHR_swapchain_maintenance1.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_KHR.
p_next: *const c_voidOptional, may be null.
scaling_behavior: PresentScalingFlagsKHR§present_gravity_x: PresentGravityFlagsKHR§present_gravity_y: PresentGravityFlagsKHRImplementations§
Source§impl SwapchainPresentScalingCreateInfoKHR
impl SwapchainPresentScalingCreateInfoKHR
Sourcepub fn builder<'a>() -> SwapchainPresentScalingCreateInfoKHRBuilder<'a>
pub fn builder<'a>() -> SwapchainPresentScalingCreateInfoKHRBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait 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 moreimpl Copy for SwapchainPresentScalingCreateInfoKHR
impl ExtendsSwapchainCreateInfoKHR for SwapchainPresentScalingCreateInfoKHR
Auto Trait Implementations§
impl Freeze for SwapchainPresentScalingCreateInfoKHR
impl RefUnwindSafe for SwapchainPresentScalingCreateInfoKHR
impl !Send for SwapchainPresentScalingCreateInfoKHR
impl !Sync for SwapchainPresentScalingCreateInfoKHR
impl Unpin for SwapchainPresentScalingCreateInfoKHR
impl UnsafeUnpin 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