Struct ash::vk::PhysicalDevice16BitStorageFeaturesBuilder
source · [−]#[repr(transparent)]pub struct PhysicalDevice16BitStorageFeaturesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> PhysicalDevice16BitStorageFeaturesBuilder<'a>
pub fn storage_buffer16_bit_access(
self,
storage_buffer16_bit_access: bool
) -> Self
pub fn uniform_and_storage_buffer16_bit_access(
self,
uniform_and_storage_buffer16_bit_access: bool
) -> Self
pub fn storage_push_constant16(self, storage_push_constant16: bool) -> Self
pub fn storage_input_output16(self, storage_input_output16: bool) -> Self
sourcepub 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.
Trait Implementations
sourceimpl<'a> Deref for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDevice16BitStorageFeaturesBuilder<'a>
type Target = PhysicalDevice16BitStorageFeatures
type Target = PhysicalDevice16BitStorageFeatures
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDevice16BitStorageFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDevice16BitStorageFeaturesBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDevice16BitStorageFeaturesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more