#[repr(C)]pub struct DescriptorUpdateTemplateEntry {
pub dst_binding: u32,
pub dst_array_element: u32,
pub descriptor_count: u32,
pub descriptor_type: DescriptorType,
pub offset: usize,
pub stride: usize,
}Expand description
Native structure VkDescriptorUpdateTemplateEntry.
Fields§
§dst_binding: u32Native field dstBinding.
dst_array_element: u32Native field dstArrayElement.
descriptor_count: u32Native field descriptorCount.
descriptor_type: DescriptorTypeNative field descriptorType.
offset: usizeNative field offset.
stride: usizeNative field stride.
Implementations§
Source§impl DescriptorUpdateTemplateEntry
impl DescriptorUpdateTemplateEntry
Sourcepub fn set_dst_binding(self, value: u32) -> Self
pub fn set_dst_binding(self, value: u32) -> Self
Set native field dstBinding without native effects.
Sourcepub fn set_dst_array_element(self, value: u32) -> Self
pub fn set_dst_array_element(self, value: u32) -> Self
Set native field dstArrayElement 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.
Sourcepub fn set_descriptor_type(self, value: DescriptorType) -> Self
pub fn set_descriptor_type(self, value: DescriptorType) -> Self
Set native field descriptorType without native effects.
Sourcepub fn set_offset(self, value: usize) -> Self
pub fn set_offset(self, value: usize) -> Self
Set native field offset without native effects.
Sourcepub fn set_stride(self, value: usize) -> Self
pub fn set_stride(self, value: usize) -> Self
Set native field stride without native effects.
Trait Implementations§
impl Copy for DescriptorUpdateTemplateEntry
Auto Trait Implementations§
impl Forget for DescriptorUpdateTemplateEntry
impl Freeze for DescriptorUpdateTemplateEntry
impl Move for DescriptorUpdateTemplateEntry
impl RefUnwindSafe for DescriptorUpdateTemplateEntry
impl Send for DescriptorUpdateTemplateEntry
impl Sync for DescriptorUpdateTemplateEntry
impl Unpin for DescriptorUpdateTemplateEntry
impl UnsafeUnpin for DescriptorUpdateTemplateEntry
impl UnwindSafe for DescriptorUpdateTemplateEntry
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