#[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
) -> 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>
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.
sourcefn deref(
&self
) -> &<PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDevice16BitStorageFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDevice16BitStorageFeaturesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDevice16BitStorageFeaturesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more