#[repr(transparent)]pub struct SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
impl<'a> SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
pub fn local_dimming_enable(
self,
local_dimming_enable: bool
) -> SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
sourcepub fn build(self) -> SwapchainDisplayNativeHdrCreateInfoAMD
pub fn build(self) -> SwapchainDisplayNativeHdrCreateInfoAMD
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 SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
impl<'a> Deref for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
type Target = SwapchainDisplayNativeHdrCreateInfoAMD
type Target = SwapchainDisplayNativeHdrCreateInfoAMD
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
impl<'a> DerefMut for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsSwapchainCreateInfoKHR for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
impl<'a> !Send for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
impl<'a> !Sync for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
impl<'a> Unpin for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
impl<'a> UnwindSafe for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more