pub struct DescriptorPoolProperties {
pub flags: DescriptorPoolCreateFlags,
pub max_sets: u32,
pub pool_sizes: Vec<DescriptorPoolSize>,
}Expand description
Note: default values are nothing!
Fields§
§flags: DescriptorPoolCreateFlags§max_sets: u32§pool_sizes: Vec<DescriptorPoolSize>Implementations§
Source§impl DescriptorPoolProperties
impl DescriptorPoolProperties
pub fn new_default(max_sets: u32, pool_sizes: Vec<DescriptorPoolSize>) -> Self
pub fn write_create_info_builder<'a>( &'a self, builder: DescriptorPoolCreateInfoBuilder<'a>, ) -> DescriptorPoolCreateInfoBuilder<'a>
pub fn create_info_builder(&self) -> DescriptorPoolCreateInfoBuilder<'_>
pub fn from_create_info_builder( value: &DescriptorPoolCreateInfoBuilder<'_>, ) -> Self
Trait Implementations§
Source§impl Clone for DescriptorPoolProperties
impl Clone for DescriptorPoolProperties
Source§fn clone(&self) -> DescriptorPoolProperties
fn clone(&self) -> DescriptorPoolProperties
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 Default for DescriptorPoolProperties
impl Default for DescriptorPoolProperties
Source§fn default() -> DescriptorPoolProperties
fn default() -> DescriptorPoolProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DescriptorPoolProperties
impl RefUnwindSafe for DescriptorPoolProperties
impl Send for DescriptorPoolProperties
impl Sync for DescriptorPoolProperties
impl Unpin for DescriptorPoolProperties
impl UnwindSafe for DescriptorPoolProperties
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