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: PresentScalingFlagsKHR) -> Self
pub fn supported_present_gravity_x(self, value: PresentGravityFlagsKHR) -> Self
pub fn supported_present_gravity_y(self, value: PresentGravityFlagsKHR) -> Self
pub fn min_scaled_image_extent(self, value: Extent2D) -> Self
pub fn max_scaled_image_extent(self, value: Extent2D) -> Self
Sourcepub fn push_next<T: ExtendsSurfacePresentScalingCapabilitiesKHR>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsSurfacePresentScalingCapabilitiesKHR>( self, next: &'a mut T, ) -> Self
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>
Auto Trait Implementations§
impl<'a> Freeze for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> RefUnwindSafe for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> !Send for SurfacePresentScalingCapabilitiesKHRBuilder<'a>
impl<'a> !Sync 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