Struct pilka_lib::ash::vk::PhysicalDevice16BitStorageFeaturesBuilder [−]
#[repr(transparent)]pub struct PhysicalDevice16BitStorageFeaturesBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> PhysicalDevice16BitStorageFeaturesBuilder<'a>
pub fn storage_buffer16_bit_access(
self,
storage_buffer16_bit_access: bool
) -> PhysicalDevice16BitStorageFeaturesBuilder<'a>
pub fn uniform_and_storage_buffer16_bit_access(
self,
uniform_and_storage_buffer16_bit_access: bool
) -> PhysicalDevice16BitStorageFeaturesBuilder<'a>
pub fn storage_push_constant16(
self,
storage_push_constant16: bool
) -> PhysicalDevice16BitStorageFeaturesBuilder<'a>
pub fn storage_input_output16(
self,
storage_input_output16: bool
) -> PhysicalDevice16BitStorageFeaturesBuilder<'a>
pub fn build(self) -> PhysicalDevice16BitStorageFeatures
pub fn build(self) -> PhysicalDevice16BitStorageFeatures
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.
Methods from Deref<Target = PhysicalDevice16BitStorageFeatures>
Trait Implementations
impl<'a> Deref for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDevice16BitStorageFeaturesBuilder<'a>
The resulting type after dereferencing.
pub fn deref(
&self
) -> &<PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
pub fn deref(
&self
) -> &<PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDevice16BitStorageFeaturesBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
Mutably dereferences the value.