#[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
) -> PhysicalDeviceVariablePointersFeaturesBuilder<'a>
pub fn variable_pointers(
self,
variable_pointers: bool
) -> PhysicalDeviceVariablePointersFeaturesBuilder<'a>
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.
sourcefn deref(
&self
) -> &<PhysicalDeviceVariablePointersFeaturesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceVariablePointersFeaturesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceVariablePointersFeaturesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceVariablePointersFeaturesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceVariablePointersFeaturesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more