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> Freeze for SurfaceProtectedCapabilitiesKHRBuilder<'a>
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