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