pub struct SwapchainPresentScalingCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> SwapchainPresentScalingCreateInfoEXTBuilder<'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
Sourcepub fn build(self) -> SwapchainPresentScalingCreateInfoEXT
pub fn build(self) -> SwapchainPresentScalingCreateInfoEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> Deref for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> DerefMut for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl ExtendsSwapchainCreateInfoKHR for SwapchainPresentScalingCreateInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> !Send for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> !Sync for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> Unpin for SwapchainPresentScalingCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for SwapchainPresentScalingCreateInfoEXTBuilder<'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