#[repr(transparent)]pub struct SurfaceProtectedCapabilitiesKHRBuilder { /* private fields */ }
Expand description
A builder for a SurfaceProtectedCapabilitiesKHR
.
Implementations§
source§impl SurfaceProtectedCapabilitiesKHRBuilder
impl SurfaceProtectedCapabilitiesKHRBuilder
pub fn supports_protected(self, supports_protected: bool) -> Self
pub fn build(self) -> SurfaceProtectedCapabilitiesKHR
Trait Implementations§
source§impl Cast for SurfaceProtectedCapabilitiesKHRBuilder
impl Cast for SurfaceProtectedCapabilitiesKHRBuilder
§type Target = SurfaceProtectedCapabilitiesKHR
type Target = SurfaceProtectedCapabilitiesKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SurfaceProtectedCapabilitiesKHRBuilder
impl Clone for SurfaceProtectedCapabilitiesKHRBuilder
source§fn clone(&self) -> SurfaceProtectedCapabilitiesKHRBuilder
fn clone(&self) -> SurfaceProtectedCapabilitiesKHRBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SurfaceProtectedCapabilitiesKHRBuilder
impl Default for SurfaceProtectedCapabilitiesKHRBuilder
source§fn default() -> SurfaceProtectedCapabilitiesKHRBuilder
fn default() -> SurfaceProtectedCapabilitiesKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for SurfaceProtectedCapabilitiesKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SurfaceProtectedCapabilitiesKHRBuilder
impl !Send for SurfaceProtectedCapabilitiesKHRBuilder
impl !Sync for SurfaceProtectedCapabilitiesKHRBuilder
impl Unpin for SurfaceProtectedCapabilitiesKHRBuilder
impl UnwindSafe for SurfaceProtectedCapabilitiesKHRBuilder
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