#[repr(transparent)]pub struct DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
pub fn local_dimming_support(self, local_dimming_support: bool) -> Self
sourcepub fn build(self) -> DisplayNativeHdrSurfaceCapabilitiesAMD
pub fn build(self) -> DisplayNativeHdrSurfaceCapabilitiesAMD
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 DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> Deref for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
type Target = DisplayNativeHdrSurfaceCapabilitiesAMD
type Target = DisplayNativeHdrSurfaceCapabilitiesAMD
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> DerefMut for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl ExtendsSurfaceCapabilities2KHR for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> !Send for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> !Sync for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> Unpin for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> UnwindSafe for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'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