pub struct PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
pub fn scalar_block_layout(
self,
scalar_block_layout: bool
) -> PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceScalarBlockLayoutFeatures
pub fn build(self) -> PhysicalDeviceScalarBlockLayoutFeatures
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 PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
§type Target = PhysicalDeviceScalarBlockLayoutFeatures
type Target = PhysicalDeviceScalarBlockLayoutFeatures
The resulting type after dereferencing.