#[repr(transparent)]pub struct SwapchainPresentScalingCreateInfoEXTBuilder { /* private fields */ }
Expand description
A builder for a SwapchainPresentScalingCreateInfoEXT
.
Implementations§
source§impl SwapchainPresentScalingCreateInfoEXTBuilder
impl SwapchainPresentScalingCreateInfoEXTBuilder
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
pub fn build(self) -> SwapchainPresentScalingCreateInfoEXT
Trait Implementations§
source§impl Cast for SwapchainPresentScalingCreateInfoEXTBuilder
impl Cast for SwapchainPresentScalingCreateInfoEXTBuilder
§type Target = SwapchainPresentScalingCreateInfoEXT
type Target = SwapchainPresentScalingCreateInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SwapchainPresentScalingCreateInfoEXTBuilder
impl Clone for SwapchainPresentScalingCreateInfoEXTBuilder
source§fn clone(&self) -> SwapchainPresentScalingCreateInfoEXTBuilder
fn clone(&self) -> SwapchainPresentScalingCreateInfoEXTBuilder
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 Default for SwapchainPresentScalingCreateInfoEXTBuilder
impl Default for SwapchainPresentScalingCreateInfoEXTBuilder
source§fn default() -> SwapchainPresentScalingCreateInfoEXTBuilder
fn default() -> SwapchainPresentScalingCreateInfoEXTBuilder
Returns the “default value” for a type. Read more
impl Copy for SwapchainPresentScalingCreateInfoEXTBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SwapchainPresentScalingCreateInfoEXTBuilder
impl !Send for SwapchainPresentScalingCreateInfoEXTBuilder
impl !Sync for SwapchainPresentScalingCreateInfoEXTBuilder
impl Unpin for SwapchainPresentScalingCreateInfoEXTBuilder
impl UnwindSafe for SwapchainPresentScalingCreateInfoEXTBuilder
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