pub struct PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
pub fn scalar_block_layout(self, scalar_block_layout: bool) -> Self
sourcepub 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.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more