pub struct DescriptorPoolCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for VkDescriptorPoolCreateInfo
.
Implementations§
Source§impl<'b> DescriptorPoolCreateInfoBuilder<'b>
impl<'b> DescriptorPoolCreateInfoBuilder<'b>
pub fn new() -> DescriptorPoolCreateInfoBuilder<'b>
pub unsafe fn next<'m>( self, next: *const c_void, ) -> DescriptorPoolCreateInfoBuilder<'b>
pub fn flags<'m>( self, flags: DescriptorPoolCreateFlags, ) -> DescriptorPoolCreateInfoBuilder<'b>
pub fn max_sets<'m>(self, max_sets: u32) -> DescriptorPoolCreateInfoBuilder<'b>
pub fn pool_sizes<'m, 'a>(
self,
pool_sizes: &'a [DescriptorPoolSize],
) -> DescriptorPoolCreateInfoBuilder<'b>where
'a: 'b,
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_flags<'a>(&'a self) -> DescriptorPoolCreateFlags
pub fn get_max_sets<'a>(&'a self) -> u32
pub fn get_pool_sizes<'a>(&'a self) -> &'a [DescriptorPoolSize]
pub fn build(self) -> DescriptorPoolCreateInfo<'b>
Trait Implementations§
Source§impl<'b> Clone for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> Clone for DescriptorPoolCreateInfoBuilder<'b>
Source§fn clone(&self) -> DescriptorPoolCreateInfoBuilder<'b>
fn clone(&self) -> DescriptorPoolCreateInfoBuilder<'b>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'b> Debug for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> Debug for DescriptorPoolCreateInfoBuilder<'b>
Source§impl<'b> Default for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> Default for DescriptorPoolCreateInfoBuilder<'b>
Source§fn default() -> DescriptorPoolCreateInfoBuilder<'b>
fn default() -> DescriptorPoolCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> RefUnwindSafe for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> !Send for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> !Sync for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> Unpin for DescriptorPoolCreateInfoBuilder<'b>
impl<'b> UnwindSafe for DescriptorPoolCreateInfoBuilder<'b>
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