pub struct SurfacePresentModeCompatibilityEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> SurfacePresentModeCompatibilityEXTBuilder<'a>
pub fn present_modes(self, present_modes: &'a mut [PresentModeKHR]) -> Self
Sourcepub fn build(self) -> SurfacePresentModeCompatibilityEXT
pub fn build(self) -> SurfacePresentModeCompatibilityEXT
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 SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> Deref for SurfacePresentModeCompatibilityEXTBuilder<'a>
Source§impl<'a> DerefMut for SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> DerefMut for SurfacePresentModeCompatibilityEXTBuilder<'a>
impl ExtendsSurfaceCapabilities2KHR for SurfacePresentModeCompatibilityEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> RefUnwindSafe for SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> !Send for SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> !Sync for SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> Unpin for SurfacePresentModeCompatibilityEXTBuilder<'a>
impl<'a> UnwindSafe for SurfacePresentModeCompatibilityEXTBuilder<'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