#[repr(transparent)]pub struct PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
type Target = PhysicalDeviceShaderFloat16Int8Features
type Target = PhysicalDeviceShaderFloat16Int8Features
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsDeviceCreateInfo for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'_>
impl<'_> ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'_>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more