pub struct DescriptorSetAllocateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for DescriptorSetAllocateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> DescriptorSetAllocateInfoBuilder<'a>
impl<'a> DescriptorSetAllocateInfoBuilder<'a>
pub fn descriptor_pool( self, value: DescriptorPool, ) -> DescriptorSetAllocateInfoBuilder<'a>
pub fn set_layouts( self, slice: &'a [DescriptorSetLayout], ) -> DescriptorSetAllocateInfoBuilder<'a>
Sourcepub fn push_next<T>(
self,
next: &'a mut T,
) -> DescriptorSetAllocateInfoBuilder<'a>where
T: ExtendsDescriptorSetAllocateInfo,
pub fn push_next<T>(
self,
next: &'a mut T,
) -> DescriptorSetAllocateInfoBuilder<'a>where
T: ExtendsDescriptorSetAllocateInfo,
Prepend a struct to the pNext chain. See DescriptorSetAllocateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> Deref for DescriptorSetAllocateInfoBuilder<'a>
Source§type Target = DescriptorSetAllocateInfo
type Target = DescriptorSetAllocateInfo
The resulting type after dereferencing.
Source§impl<'a> DerefMut for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> DerefMut for DescriptorSetAllocateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> RefUnwindSafe for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> !Send for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> !Sync for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> Unpin for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> UnsafeUnpin for DescriptorSetAllocateInfoBuilder<'a>
impl<'a> UnwindSafe for DescriptorSetAllocateInfoBuilder<'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