pub struct PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'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§
Source§impl<'a> Deref for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceLinearColorAttachmentFeaturesNVBuilder<'a>
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§
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