#[repr(C)]pub struct SwapchainPresentScalingCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub scaling_behavior: PresentScalingFlagsEXT,
pub present_gravity_x: PresentGravityFlagsEXT,
pub present_gravity_y: PresentGravityFlagsEXT,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§scaling_behavior: PresentScalingFlagsEXT
§present_gravity_x: PresentGravityFlagsEXT
§present_gravity_y: PresentGravityFlagsEXT
Implementations§
Source§impl SwapchainPresentScalingCreateInfoEXT
impl SwapchainPresentScalingCreateInfoEXT
pub fn builder<'a>() -> SwapchainPresentScalingCreateInfoEXTBuilder<'a>
Trait Implementations§
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 TaggedStructure for SwapchainPresentScalingCreateInfoEXT
impl TaggedStructure for SwapchainPresentScalingCreateInfoEXT
const STRUCTURE_TYPE: StructureType = StructureType::SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT
impl Copy for SwapchainPresentScalingCreateInfoEXT
impl ExtendsSwapchainCreateInfoKHR for SwapchainPresentScalingCreateInfoEXT
Auto Trait Implementations§
impl Freeze for SwapchainPresentScalingCreateInfoEXT
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
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
)