Struct ash::vk::VertexInputAttributeDescriptionBuilder
source · pub struct VertexInputAttributeDescriptionBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VertexInputAttributeDescriptionBuilder<'a>
impl<'a> VertexInputAttributeDescriptionBuilder<'a>
pub fn location(self, location: u32) -> Self
pub fn binding(self, binding: u32) -> Self
pub fn format(self, format: Format) -> Self
pub fn offset(self, offset: u32) -> Self
sourcepub fn build(self) -> VertexInputAttributeDescription
pub fn build(self) -> VertexInputAttributeDescription
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for VertexInputAttributeDescriptionBuilder<'a>
impl<'a> Deref for VertexInputAttributeDescriptionBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VertexInputAttributeDescriptionBuilder<'a>
impl<'a> RefUnwindSafe for VertexInputAttributeDescriptionBuilder<'a>
impl<'a> Send for VertexInputAttributeDescriptionBuilder<'a>
impl<'a> Sync for VertexInputAttributeDescriptionBuilder<'a>
impl<'a> Unpin for VertexInputAttributeDescriptionBuilder<'a>
impl<'a> UnwindSafe for VertexInputAttributeDescriptionBuilder<'a>
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