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