#[repr(transparent)]pub struct DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
impl<'a> DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
pub fn descriptor_counts(
self,
descriptor_counts: &'a [u32]
) -> DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
sourcepub fn build(self) -> DescriptorSetVariableDescriptorCountAllocateInfo
pub fn build(self) -> DescriptorSetVariableDescriptorCountAllocateInfo
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 DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
impl<'a> Deref for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
type Target = DescriptorSetVariableDescriptorCountAllocateInfo
type Target = DescriptorSetVariableDescriptorCountAllocateInfo
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
impl<'a> DerefMut for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsDescriptorSetAllocateInfo for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
impl<'a> !Send for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
impl<'a> !Sync for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
impl<'a> Unpin for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a>
impl<'a> UnwindSafe for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'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