#[repr(transparent)]pub struct PhysicalDeviceVariablePointersFeaturesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> PhysicalDeviceVariablePointersFeaturesBuilder<'a>
pub fn variable_pointers_storage_buffer(
self,
variable_pointers_storage_buffer: bool
) -> Self
pub fn variable_pointers(self, variable_pointers: bool) -> Self
sourcepub fn build(self) -> PhysicalDeviceVariablePointersFeatures
pub fn build(self) -> PhysicalDeviceVariablePointersFeatures
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 PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
type Target = PhysicalDeviceVariablePointersFeatures
type Target = PhysicalDeviceVariablePointersFeatures
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceVariablePointersFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceVariablePointersFeaturesBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more