#[repr(C)]pub struct DescriptorPoolCreateInfo<'s> { /* private fields */ }
Expand description
A VkDescriptorPoolCreateInfo
.
Implementations§
Source§impl<'s> DescriptorPoolCreateInfo<'s>
impl<'s> DescriptorPoolCreateInfo<'s>
pub fn builder<'b>() -> DescriptorPoolCreateInfoBuilder<'b>
pub unsafe fn from_raw( raw: VkDescriptorPoolCreateInfo, ) -> DescriptorPoolCreateInfo<'s>
pub fn next<'a>(&'a self) -> *const c_void
pub fn flags<'a>(&'a self) -> DescriptorPoolCreateFlags
pub fn max_sets<'a>(&'a self) -> u32
pub fn pool_sizes<'a>(&'a self) -> &'a [DescriptorPoolSize]
pub unsafe fn set_next<'m>(&mut self, next: *const c_void)
pub fn set_flags<'m>(&mut self, flags: DescriptorPoolCreateFlags)
pub fn set_max_sets<'m>(&mut self, max_sets: u32)
pub fn set_pool_sizes<'m, 'a>(&mut self, pool_sizes: &'a [DescriptorPoolSize])where
'a: 's,
pub fn as_raw(&self) -> &VkDescriptorPoolCreateInfo
Trait Implementations§
Source§impl<'s> Clone for DescriptorPoolCreateInfo<'s>
impl<'s> Clone for DescriptorPoolCreateInfo<'s>
Source§fn clone(&self) -> DescriptorPoolCreateInfo<'s>
fn clone(&self) -> DescriptorPoolCreateInfo<'s>
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<'s> Debug for DescriptorPoolCreateInfo<'s>
impl<'s> Debug for DescriptorPoolCreateInfo<'s>
Source§impl<'s> Default for DescriptorPoolCreateInfo<'s>
impl<'s> Default for DescriptorPoolCreateInfo<'s>
Source§fn default() -> DescriptorPoolCreateInfo<'s>
fn default() -> DescriptorPoolCreateInfo<'s>
Returns the “default value” for a type. Read more
Source§impl<'s> From<DescriptorPoolCreateInfo<'s>> for VkDescriptorPoolCreateInfo
impl<'s> From<DescriptorPoolCreateInfo<'s>> for VkDescriptorPoolCreateInfo
Source§fn from(f: DescriptorPoolCreateInfo<'s>) -> VkDescriptorPoolCreateInfo
fn from(f: DescriptorPoolCreateInfo<'s>) -> VkDescriptorPoolCreateInfo
Converts to this type from the input type.
Auto Trait Implementations§
impl<'s> Freeze for DescriptorPoolCreateInfo<'s>
impl<'s> RefUnwindSafe for DescriptorPoolCreateInfo<'s>
impl<'s> !Send for DescriptorPoolCreateInfo<'s>
impl<'s> !Sync for DescriptorPoolCreateInfo<'s>
impl<'s> Unpin for DescriptorPoolCreateInfo<'s>
impl<'s> UnwindSafe for DescriptorPoolCreateInfo<'s>
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