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