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