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> Freeze for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a>
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