pub struct DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
pub fn local_dimming_support(
self,
local_dimming_support: bool
) -> DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
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§
source§impl<'a> Deref for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> Deref for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
§type Target = DisplayNativeHdrSurfaceCapabilitiesAMD
type Target = DisplayNativeHdrSurfaceCapabilitiesAMD
The resulting type after dereferencing.