#[repr(transparent)]pub struct PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
type Target = PhysicalDeviceShaderDrawParametersFeatures
type Target = PhysicalDeviceShaderDrawParametersFeatures
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'_>
Auto Trait Implementations
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
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