#[repr(C)]pub struct VertexInputAttributeDescription {
pub location: u32,
pub binding: u32,
pub format: Format,
pub offset: u32,
}Expand description
Native structure VkVertexInputAttributeDescription.
Fields§
§location: u32Native field location.
binding: u32Native field binding.
format: FormatNative field format.
offset: u32Native field offset.
Implementations§
Source§impl VertexInputAttributeDescription
impl VertexInputAttributeDescription
Sourcepub fn set_location(self, value: u32) -> Self
pub fn set_location(self, value: u32) -> Self
Set native field location without native effects.
Sourcepub fn set_binding(self, value: u32) -> Self
pub fn set_binding(self, value: u32) -> Self
Set native field binding without native effects.
Sourcepub fn set_format(self, value: Format) -> Self
pub fn set_format(self, value: Format) -> Self
Set native field format without native effects.
Sourcepub fn set_offset(self, value: u32) -> Self
pub fn set_offset(self, value: u32) -> Self
Set native field offset without native effects.
Trait Implementations§
impl Copy for VertexInputAttributeDescription
Auto Trait Implementations§
impl Forget for VertexInputAttributeDescription
impl Freeze for VertexInputAttributeDescription
impl Move for VertexInputAttributeDescription
impl RefUnwindSafe for VertexInputAttributeDescription
impl Send for VertexInputAttributeDescription
impl Sync for VertexInputAttributeDescription
impl Unpin for VertexInputAttributeDescription
impl UnsafeUnpin for VertexInputAttributeDescription
impl UnwindSafe for VertexInputAttributeDescription
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