Struct ash::vk::definitions::SwapchainPresentScalingCreateInfoEXT
source · #[repr(C)]pub struct SwapchainPresentScalingCreateInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub scaling_behavior: PresentScalingFlagsEXT,
pub present_gravity_x: PresentGravityFlagsEXT,
pub present_gravity_y: PresentGravityFlagsEXT,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§scaling_behavior: PresentScalingFlagsEXT
§present_gravity_x: PresentGravityFlagsEXT
§present_gravity_y: PresentGravityFlagsEXT
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SwapchainPresentScalingCreateInfoEXT<'a>
impl<'a> SwapchainPresentScalingCreateInfoEXT<'a>
pub fn scaling_behavior(self, scaling_behavior: PresentScalingFlagsEXT) -> Self
pub fn present_gravity_x( self, present_gravity_x: PresentGravityFlagsEXT, ) -> Self
pub fn present_gravity_y( self, present_gravity_y: PresentGravityFlagsEXT, ) -> Self
Trait Implementations§
source§impl<'a> Clone for SwapchainPresentScalingCreateInfoEXT<'a>
impl<'a> Clone for SwapchainPresentScalingCreateInfoEXT<'a>
source§fn clone(&self) -> SwapchainPresentScalingCreateInfoEXT<'a>
fn clone(&self) -> SwapchainPresentScalingCreateInfoEXT<'a>
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<'a> Debug for SwapchainPresentScalingCreateInfoEXT<'a>
impl<'a> Debug for SwapchainPresentScalingCreateInfoEXT<'a>
source§impl Default for SwapchainPresentScalingCreateInfoEXT<'_>
impl Default for SwapchainPresentScalingCreateInfoEXT<'_>
source§impl<'a> TaggedStructure for SwapchainPresentScalingCreateInfoEXT<'a>
impl<'a> TaggedStructure for SwapchainPresentScalingCreateInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT
impl<'a> Copy for SwapchainPresentScalingCreateInfoEXT<'a>
impl ExtendsSwapchainCreateInfoKHR for SwapchainPresentScalingCreateInfoEXT<'_>
impl Send for SwapchainPresentScalingCreateInfoEXT<'_>
impl Sync for SwapchainPresentScalingCreateInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for SwapchainPresentScalingCreateInfoEXT<'a>
impl<'a> RefUnwindSafe for SwapchainPresentScalingCreateInfoEXT<'a>
impl<'a> Unpin for SwapchainPresentScalingCreateInfoEXT<'a>
impl<'a> UnwindSafe for SwapchainPresentScalingCreateInfoEXT<'a>
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