Struct ash::vk::SurfacePresentModeCompatibilityEXTBuilder
source · 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