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