pub struct SurfacePresentScalingCapabilitiesKHRBuilder<'a> { /* private fields */ }Expand description
Builder for SurfacePresentScalingCapabilitiesKHR with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
pub fn supported_present_scaling( self, value: PresentScalingFlagBitsKHR, ) -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
pub fn supported_present_gravity_x( self, value: PresentGravityFlagBitsKHR, ) -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
pub fn supported_present_gravity_y( self, value: PresentGravityFlagBitsKHR, ) -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
pub fn min_scaled_image_extent( self, value: Extent2D, ) -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
pub fn max_scaled_image_extent( self, value: Extent2D, ) -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
Sourcepub fn push_next<T>(
self,
next: &'a mut T,
) -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
pub fn push_next<T>( self, next: &'a mut T, ) -> SurfacePresentScalingCapabilitiesKHRBuilder<'a>
Prepend a struct to the pNext chain. See SurfacePresentScalingCapabilitiesKHR’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> Deref for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
Source§type Target = SurfacePresentScalingCapabilitiesKHR
type Target = SurfacePresentScalingCapabilitiesKHR
The resulting type after dereferencing.
Source§impl<'a> DerefMut for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> DerefMut for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> !Send for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> !Sync for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> Freeze for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> RefUnwindSafe for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> Unpin for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> UnsafeUnpin for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> UnwindSafe for SurfacePresentScalingCapabilitiesKHRBuilder<'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