#[repr(C)]pub struct DescriptorPoolCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: DescriptorPoolCreateFlags,
pub maxSets: u32,
pub poolSizeCount: u32,
pub pPoolSizes: *const DescriptorPoolSize,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: DescriptorPoolCreateFlags§maxSets: u32§poolSizeCount: u32§pPoolSizes: *const DescriptorPoolSizeImplementations§
Source§impl DescriptorPoolCreateInfo
impl DescriptorPoolCreateInfo
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn flags(self, flags: DescriptorPoolCreateFlags) -> Self
pub fn maxSets(self, maxSets: u32) -> Self
pub fn poolSizeCount(self, poolSizeCount: u32) -> Self
pub fn pPoolSizes(self, pPoolSizes: *const DescriptorPoolSize) -> Self
Trait Implementations§
Source§impl Clone for DescriptorPoolCreateInfo
impl Clone for DescriptorPoolCreateInfo
Source§fn clone(&self) -> DescriptorPoolCreateInfo
fn clone(&self) -> DescriptorPoolCreateInfo
Returns a duplicate 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 Debug for DescriptorPoolCreateInfo
impl Debug for DescriptorPoolCreateInfo
Source§impl Default for DescriptorPoolCreateInfo
impl Default for DescriptorPoolCreateInfo
Source§fn default() -> DescriptorPoolCreateInfo
fn default() -> DescriptorPoolCreateInfo
Returns the “default value” for a type. Read more
impl Copy for DescriptorPoolCreateInfo
Auto Trait Implementations§
impl Freeze for DescriptorPoolCreateInfo
impl RefUnwindSafe for DescriptorPoolCreateInfo
impl !Send for DescriptorPoolCreateInfo
impl !Sync for DescriptorPoolCreateInfo
impl Unpin for DescriptorPoolCreateInfo
impl UnwindSafe for DescriptorPoolCreateInfo
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