Struct ash::vk::SurfaceProtectedCapabilitiesKHRBuilder
source · pub struct SurfaceProtectedCapabilitiesKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> SurfaceProtectedCapabilitiesKHRBuilder<'a>
pub fn supports_protected(self, supports_protected: bool) -> Self
sourcepub fn build(self) -> SurfaceProtectedCapabilitiesKHR
pub fn build(self) -> SurfaceProtectedCapabilitiesKHR
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 SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> Deref for SurfaceProtectedCapabilitiesKHRBuilder<'a>
source§impl<'a> DerefMut for SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> DerefMut for SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl ExtendsSurfaceCapabilities2KHR for SurfaceProtectedCapabilitiesKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> !Send for SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> !Sync for SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> Unpin for SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> UnwindSafe for SurfaceProtectedCapabilitiesKHRBuilder<'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