#[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) -> Self
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.
sourceimpl<'a> DerefMut for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more