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) -> 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§
Source§impl<'a> Deref for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> Deref for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
Source§impl<'a> DerefMut for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl<'a> DerefMut for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
impl ExtendsSurfaceCapabilities2KHR for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a>
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§
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