Struct ash::vk::SurfaceProtectedCapabilitiesKHRBuilder
source · [−]#[repr(transparent)]pub struct SurfaceProtectedCapabilitiesKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for SurfaceProtectedCapabilitiesKHRBuilder<'a>
impl<'a> Deref for SurfaceProtectedCapabilitiesKHRBuilder<'a>
type Target = SurfaceProtectedCapabilitiesKHR
type Target = SurfaceProtectedCapabilitiesKHR
The resulting type after dereferencing.
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more