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