pub struct PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
pub fn shader_draw_parameters(self, shader_draw_parameters: bool) -> Self
Sourcepub fn build(self) -> PhysicalDeviceShaderDrawParametersFeatures
pub fn build(self) -> PhysicalDeviceShaderDrawParametersFeatures
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 PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'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