pub struct InputElementDesc {
pub semantic_name: String,
pub semantic_index: u32,
pub format: Format,
pub input_slot: u32,
pub aligned_byte_offset: ElementOffset,
pub input_slot_class: InputClassification,
pub instance_data_step_rate: u32,
}Fields§
§semantic_name: String§semantic_index: u32§format: Format§input_slot: u32§aligned_byte_offset: ElementOffset§input_slot_class: InputClassification§instance_data_step_rate: u32Implementations§
Source§impl InputElementDesc
impl InputElementDesc
Sourcepub fn builder() -> InputElementDescBuilder
pub fn builder() -> InputElementDescBuilder
Create an instance of InputElementDesc using the builder syntax
Trait Implementations§
Source§impl Clone for InputElementDesc
impl Clone for InputElementDesc
Source§fn clone(&self) -> InputElementDesc
fn clone(&self) -> InputElementDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InputElementDesc
impl RefUnwindSafe for InputElementDesc
impl Send for InputElementDesc
impl Sync for InputElementDesc
impl Unpin for InputElementDesc
impl UnsafeUnpin for InputElementDesc
impl UnwindSafe for InputElementDesc
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