#[repr(C)]pub struct DescriptorPoolSize {
pub type: DescriptorType,
pub descriptor_count: u32,
}Expand description
Native structure VkDescriptorPoolSize.
Fields§
§type: DescriptorTypeNative field type.
descriptor_count: u32Native field descriptorCount.
Implementations§
Source§impl DescriptorPoolSize
impl DescriptorPoolSize
Sourcepub fn set_type(self, value: DescriptorType) -> Self
pub fn set_type(self, value: DescriptorType) -> Self
Set native field type without native effects.
Sourcepub fn set_descriptor_count(self, value: u32) -> Self
pub fn set_descriptor_count(self, value: u32) -> Self
Set native field descriptorCount without native effects.
Trait Implementations§
Source§impl Clone for DescriptorPoolSize
impl Clone for DescriptorPoolSize
impl Copy for DescriptorPoolSize
Auto Trait Implementations§
impl Forget for DescriptorPoolSize
impl Freeze for DescriptorPoolSize
impl Move for DescriptorPoolSize
impl RefUnwindSafe for DescriptorPoolSize
impl Send for DescriptorPoolSize
impl Sync for DescriptorPoolSize
impl Unpin for DescriptorPoolSize
impl UnsafeUnpin for DescriptorPoolSize
impl UnwindSafe for DescriptorPoolSize
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