#[repr(transparent)]pub struct PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
pub fn linear_color_attachment(
self,
linear_color_attachment: bool
) -> PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceLinearColorAttachmentFeaturesNV
pub fn build(self) -> PhysicalDeviceLinearColorAttachmentFeaturesNV
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 PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
type Target = PhysicalDeviceLinearColorAttachmentFeaturesNV
type Target = PhysicalDeviceLinearColorAttachmentFeaturesNV
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsDeviceCreateInfo for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'_>
impl<'_> ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'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