#[repr(C)]pub struct DescriptorUpdateTemplateEntry {
pub dstBinding: u32,
pub dstArrayElement: u32,
pub descriptorCount: u32,
pub descriptorType: DescriptorType,
pub offset: usize,
pub stride: usize,
}Fields§
§dstBinding: u32§dstArrayElement: u32§descriptorCount: u32§descriptorType: DescriptorType§offset: usize§stride: usizeImplementations§
Source§impl DescriptorUpdateTemplateEntry
impl DescriptorUpdateTemplateEntry
pub fn new() -> Self
pub fn dstBinding(self, dstBinding: u32) -> Self
pub fn dstArrayElement(self, dstArrayElement: u32) -> Self
pub fn descriptorCount(self, descriptorCount: u32) -> Self
pub fn descriptorType(self, descriptorType: DescriptorType) -> Self
pub fn offset(self, offset: usize) -> Self
pub fn stride(self, stride: usize) -> Self
Trait Implementations§
Source§impl Clone for DescriptorUpdateTemplateEntry
impl Clone for DescriptorUpdateTemplateEntry
Source§fn clone(&self) -> DescriptorUpdateTemplateEntry
fn clone(&self) -> DescriptorUpdateTemplateEntry
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 DescriptorUpdateTemplateEntry
impl Default for DescriptorUpdateTemplateEntry
Source§fn default() -> DescriptorUpdateTemplateEntry
fn default() -> DescriptorUpdateTemplateEntry
Returns the “default value” for a type. Read more
impl Copy for DescriptorUpdateTemplateEntry
Auto Trait Implementations§
impl Freeze for DescriptorUpdateTemplateEntry
impl RefUnwindSafe for DescriptorUpdateTemplateEntry
impl Send for DescriptorUpdateTemplateEntry
impl Sync for DescriptorUpdateTemplateEntry
impl Unpin 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