#[repr(C)]pub struct VertexInputAttributeDescription2EXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub location: u32,
pub binding: u32,
pub format: Format,
pub offset: u32,
}Expand description
VkVertexInputAttributeDescription2EXT
Provided by VK_EXT_vertex_input_dynamic_state.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT.
p_next: *mut c_voidOptional, may be null.
location: u32§binding: u32§format: Format§offset: u32Implementations§
Source§impl VertexInputAttributeDescription2EXT
impl VertexInputAttributeDescription2EXT
Sourcepub fn builder<'a>() -> VertexInputAttributeDescription2EXTBuilder<'a>
pub fn builder<'a>() -> VertexInputAttributeDescription2EXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for VertexInputAttributeDescription2EXT
impl Clone for VertexInputAttributeDescription2EXT
Source§fn clone(&self) -> VertexInputAttributeDescription2EXT
fn clone(&self) -> VertexInputAttributeDescription2EXT
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 moreimpl Copy for VertexInputAttributeDescription2EXT
Auto Trait Implementations§
impl Freeze for VertexInputAttributeDescription2EXT
impl RefUnwindSafe for VertexInputAttributeDescription2EXT
impl !Send for VertexInputAttributeDescription2EXT
impl !Sync for VertexInputAttributeDescription2EXT
impl Unpin for VertexInputAttributeDescription2EXT
impl UnsafeUnpin for VertexInputAttributeDescription2EXT
impl UnwindSafe for VertexInputAttributeDescription2EXT
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