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